Thanjai Mamani Koil

Thanjai Mamani Koil is a set of three adjacent Hindu temples dedicated to Vishnu located in Thanjavur, Tamil Nadu, India. It is one of the Divya Desams, the 108 temples of Vishnu revered by the 12 poet saints called the Alvars. Unlike other Divya Desams where a single shrine is referenced, this set of temples is referred together in all the pasurams (sacred hymns).

The temples are believed to be of significant antiquity with contributions at different times from Medieval Cholas, the Vijayanagara Empire, and Madurai Nayaks. The temples are enshrined within granite walls and the three complex contains all the shrines of the temple.

Vishnu is regarded by adherents to have assumed the form of Varaha the boar to kill three demons named Tanchakan, Tantakan, and Kacamukan. The temples have three daily rituals at various times from 7:30 a.m. to 8 p.m., and twelve yearly festivals on its calendar. The Brhamotsavam festival is the most prominent festival of the temples, celebrated during the three continuous months of Tamil month of Panguni, Chittirai and Vaikasi. The 18 Garuda seva during Vaikasi is another prominent festival in the region. The temples are maintained and administered by the Hindu Religious and Charitable Endowments Department of the Government of Tamil Nadu along with Thanjavur Palace Devasthanam.

Legend
The temple finds its sacred origin in a legend from the Brahmanda Purana. During the Treta Yuga, there were three demons by name Tanchakan, Tantakan, and Kacamukan who were blessed by Shiva and became very powerful. They grew arrogant and troubled sage Parashara who was doing penance at this place. Vishnu killed Thanjakan with his discus, called the Sudarshana Chakra. Tancakan pleaded with Vishnu to relieve him off the curse, and Vishnu named the place after his name, and hence it came to be named as Thanjavur. Kachamukan was killed by Vishnu taking the form of a Yali, a mythical creature. Vishnu took the form of Varaha the boar to kill the third demon Tantakan, who fled to Srimushnam.

Architecture
The temples are located in the banks of Vennaaru River. Manikunram has a small east facing shrine with the Lord and consort in the same sanctum. All of the Nammalvar pasurams (poems) of Thanjai refer to this shrine. Maamanikoil has a small east facing shrine with the Manikundra perumal and consort in the same sanctum sported in seated posture. The shrine is located in an elevated structure. All of the Thirumangai Alvar's pasurams (poems) of Thanjai refer to this shrine. There is a separate shrine for Ambujavalli. The waterbody associated with the temples is called Rama Theertham.

Neelamegha Perumal temple has a three-tiered rajagopuram and the sanctum faces east. The presiding deity Neelamegha perumal is sported in veetrirunda posture. There is a separate shrine of Sengamalli Thayar. The water body of the temple is called Amrutha Theertham. The precinct around the sanctum has images of Hayagreeva, Vedanta Desikar, Alvars and Garuda.

Thanjiyali Nagar also called Veera Narasimha Perumal has a small east facing shrine with the main deity and his consort in the same sanctum. All of the Bhoothathalvar pasurams (poems) of Thanjai refer to this shrine. The temple has a flat entrance tower and a single precinct. Veera Narasimha Perumal is sculpted in a seated posture giving darshan to sage Markandeya. The shrine over the sanctum is called Vedasundara Vimana and the water body associated with it is called Surya Pushkarani.

The temples are maintained and administered by the Hindu Religious and Charitable Endowments Department of the Government of Tamil Nadu along with Thanjavur Palace Devasthanam.

Festivals and religious practices
The temple priests perform the puja (rituals) during festivals and on a daily basis. As at other Vishnu temples of Tamil Nadu, the priests belong to the Vaishnavaite community, the Iyengars. The temple rituals are performed three times a day: Ushathkalam at 7:30 a.m., Uchikalam at 12:00 p.m. and Sayarakshai at 6:00 p.m. Each ritual has three steps: alangaram (decoration), neivethanam (food offering) and deepa aradanai (waving of lamps) for both Perumal and Thayar. During the last step of worship, nagaswaram (pipe instrument) and tavil (percussion instrument) are played, religious instructions in the Vedas (sacred text) are recited by priests, and worshippers prostrate themselves in front of the temple mast. There are weekly, monthly and fortnightly rituals performed in the temple. The temples have Brahmotsavam (major festivals) in three subsequent months namely Panguni, Chittirai and Vaikasi. The Garuda Sevai function during the Tamil month of Vaikasi has assembly of 18 Garuda festive deities from 18 different temples.

The temples are revered in Naalayira Divya Prabandham, the 7th–9th century Vaishnava canon, by Thirumangai Alvar and Bhoothathalvar in one hymn each. The temple is classified as a Divya Desam, one of the 108 Vishnu temples that are mentioned in the book.