sentences:  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.The temple is believed to be the birthplace of the Vaishnava Azhwar saint Bhoothathalvar.