Mandagapattu Tirumurti Temple is a Hindu temple situated in the village of Mandagapattu in the Viluppuram district of Tamil Nadu, India. Hewn from rock by the Pallava ruler Mahendravarman I in honour of the trinity Brahma-Shiva-Vishnu, the rock-cut cave temple is the oldest stone shrine discovered and dated in Tamil Nadu.[1][2] The temple is notable for the earliest known rock-cut Sanskrit inscription written in Grantha script. It is attributed to the Pallava king Mahendravarman I (600–630 CE).
The temple is dedicated to the Trininty (Brahma, Isvara/Shiva, Vishnu), which is significant to note because most of other caves either are dedicated to Vishnu or Shiva. The temple is also called ayatana and it is truly made out of rock cut without using Bricks, Wood, Metal or Mortar of any kind.