Sthalasayana Perumal Temple (also called Thirukadalmallai) is at Mahabalipuram. Constructed in the Dravidian style of architecture, the temple is glorified in the Naalayira Divya Prabandham, the early medieval Tamil canon of the Alvar saints from the 6th–9th centuries CE. It is one of the 108 Divya Desam dedicated to Vishnu, who is worshipped as Sthalasayana Perumal and his consort Lakshmi as Nilamangai Thayar. The temple is believed to have been built by the Pallavas, with later contributions from the Medieval Cholas, Vijayanagara kings, and Madurai Nayaks.