It was built by Sethupathi Vijaya Ragunatha Thevar, ruler of Ramanathapuram in AD 1687. Sethupathi is the name of the ruling dynasty of Ramanathapuram (Ramnad). Another fact of historic interest is that the founder of the princely state of Pudukkottai had served as governor of Thirumayam fort before founding his own kingdom. A Vishnu temple is located on the foot of the hill; it is much a much-venerated temple and is considered second in importance only to the temple at Srirangam. It contains one of the largest Anantasayi group icons in India. Anantasayi groups have Vishnu reclining on Anantha (Seshanaaga) as the central figure. The Vishnutemple contains an octagonal sacred tank called ‘Satya-pushkarani’ . Thirumayam is a place of historical importance located about 20 km south of the town of Pudukkottai.. The famous freedom fighter Sathyamurthy was born in Thirumayam in 1887 | ||