Origin/History :-
The Naanmadiya Perumal Temple, revered by the 8th-century Thirumangai Alwar through his mangalasasanam, likely has origins predating the 8th century. It is traditionally believed that the original temple was constructed by Ko Chengat Chozha. The temple later received contributions from both the Chozhas and the Marathas, with inscriptions from the Chozha period found on the adhistanam kumudam and Padma jagathi.
The temple underwent Maha Samprokshanam (a consecration ritual) on June 13, 2002, and again on September 11, 2014. In 2019, solar lights were installed by Jaisai Solar Solutions from Trichy and Erode, with blessings from the 45th and 46th Pattam Azhagiya Singar of the Ahobila Mutt, at a cost of Rs. 184,150.
Puranic Significance :-
During the churning of the ocean of milk by the Devas and Asuras for nectar, Chandra, the moon god and elder brother of Sri Mahalakshmi, appeared before her. As the second in the planetary line after the Sun, Chandra is known for his handsome appearance, his scholarship under Jupiter, and his conduct of the Raja Suya yajna, which was attended by numerous Rishis and Dhara, Jupiter's wife. During the yajna, Chandra and Dhara fell in love, leading to Jupiter cursing Chandra with leprosy.
Chandra and Dhara's son, Bhudha (Mercury), was born from this union. Following Vishnu’s advice, Chandra returned Dhara to Jupiter, but Budha, angered by his father's actions, performed severe penance and became a planet himself.
Chandra's next mistake was marrying the 27 daughters of Daksha, promising to treat each with equal love but favouring only Rohini. The other daughters, feeling neglected, complained to their father Daksha. Enraged, Daksha cursed Chandra to suffer a diminishing appearance, which began to affect the full moon.
Chandra, burdened by these curses, sought relief from Lord Vishnu. Vishnu instructed him to visit Srirangam, Tiru Indalur, and Thalaichanga Naanmadiyam, bathe in the sacred springs there, and perform penance. Chandra followed this advice and was granted relief at Thalaichanga Naanmadiyam. Vishnu not only appeared to Chandra but also adorned Himself with Chandra as an ornament.
In this Divya Desam temple, Perumal is depicted with a crescent moon on His head, facing east, and in a standing posture as Lord Shiva. This is why He is known as Nanmadhia Perumal, or Chandra Shaba Harar, the deity who relieved Chandra from his curse.