 It is one of the 108 "Divyadesam" dedicated to Vishnu, who is worshipped as Hara Saabha Vimochana and his consort Lakshmi as Kamalavalli.The temple is believed to have been built by the Medieval Cholas of the late 8th century AD, with later contributions from Vijayanagar kings and Madurai Nayaks.A granite wall surrounds the temple, enclosing all its shrines and its bodies of water.