Sthalasayana Perumal Temple (also called Thirukadalmallai) is at Mahabalipuram. Constructed in the Dravidian style of architecture, the temple is glorified in the Divya Prabandha, the early medieval Tamil canon of the Azhwar saints from the 6th-9th centuries AD. It is one of the 108 Divyadesam 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 Pallavas, with later contributions from Medieval Cholas, Vijayanagar kings and Madurai Nayaks.