According to the text Thirupanimalai, the Vijayanagara commander Kumara Kampana after completing his conquest of Madurai, rebuilt the pre-existing structure and built defensive walls around the temple in the 14th century.
According to the text Thirupanimalai, the Vijayanagara commander Kumara Kampana, after conquering Madurai, restored the existing structure and constructed defensive walls around the temple in the 14th century.