Situated on the foot of the Tirumayam Fort are two rock cut temples one of Shiva and other Vishnu known here as Tiru Mayam Perumal. The idol is akin to Lord Ranganathar, Sri Rangam as here also the deity is reclining on Adisesha, the serpent king.
This temple is 61st divya desam of Vishnu and is highly venerated by Vaishnavites.
The deity also known as Pallikonda Tirumayam Perumal.
The beautiful idol of Ranganatha is inside a rock cut cave.
The sanctum appears as if a whole scene is recreated from mythology where Lord protects his devas and consorts from the evil Asuras. The scene depicted is - The Lord reclining on Adisesha .The Asuras Madhu and kaitaba terrorising the devas. Devas surrounding and pleading to God to rescue them from the Asuras.The two consorts of Lord ,Boo devi hiding below the feet of Narayana and Lakshmi below Lord's hand which is held like a hood. One leg of God is kept straight and other leg tilted towards Boodevi as if comforting her. Even the Sesha here one finds is folding its hood out of fear.
There are Pancha loha idols in front.
It was really a beautiful experience understanding the legend behind the temple.
Brahama idol is on the walls of the rock.
Then there is a shrine for Amarnda perumal( One who is in a sitting posture) Satya moorthy with his consorts. Garudalvar is quite big and has a shrine in front of the Lord.
There are huge mandapams inside and outside with beautiful images.
There are also shrines for Lakshmi Narasimha, Andal, Maha lakshmi, Chakrathazhwar.
One can reach this temple from Pudukottai as well as from karaikudi.