Thirumayam is a heritage town on the way to Karaikudi, Rameshwaram-Trichy
highway. It is located about 20 kilometres south of the town
Pudhukkottai in Southern Indian State of Tamilnadu. The main
attraction of this place is Fort, Shiva and Vishnu temple. This
fort is set in 40 acres and it is considered as a great historical
importance. It was built by Sethupathi Vijaya Raghunatha Thevar,
ruler of Ramanathapuram in 1687 A.D. It was built close to 400
years ago. Bhirava temple was almost built on outermost wall
of this old fort. During World War II, the fort was used as
an armory by the British army. This fort is built on huge boulders
and circles the hill.

Inside the fort there are two famous rock-cut shrines, one of
Shiva and other of Vishnu, adjacent to each other. The Shiva
temple is cutout from the rock and may be reached by a ladder
one person at a time only. It is a one room temple perched at
top of the ladder.
The
Vishnu temple is behind the Fort and has an unusual octagonal
temple tank fed by the underground water source. Five smaller
forts may be seen around the main Thirumayam Fort.