 The temple has inscriptions from Chola, Pandya and Nayak rulers, spanning across various centuries from the 10th to 16th centuries.As per some accounts, the original structure was constructed by Tribuvana Chakravarthy Konerinmai Kondan Kulasekaran and the Andal temple by Barathi Rayar.During the reign of Thirumalai Nayak (1623–1659) and Rani Mangammal (1689–1706), this city became very popular.