Nayak dynasty
The exact history of the temple could not be ascertained, but it is originally believed to have been built by the Pandya king, Chandrakula Pandya, who ruled over the regions of Madurai. He built the central shrine and vimana of the temple. Veerappa Nayaka (1609-23 AD), a ruler of Madurai Nayak dynasty built the Yagasala, dwajasthamba (flag staff) and Nataraja hall. In modern times, the temple is maintained and administered by the Hindu Religious and Endowment Board of the Government of Tamil Nadu.