Nayak dynasty
The temple is believed to be originally built by the Pandya king, Chandrakula Pandya, who ruled over the region 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 (flagstaff) and Sandana Sababathy hall. In modern times, the temple is maintained and administered by the Hindu Religious and Endowment Board of the Government of Tamil Nadu. The temple is the place where Kumaragurupara Desikar, a saint from the 17th century.