Sage Parasara sprayed the nectar he obtained from the milk ocean in the Manimutha River, built a hermitage on the river bank and was performing penance. Three demons
https://www.google.com/search?site=imghp&tbm=isch&source=hp&biw=1280&bih=643&q=Neelamega+Manikanda+Perumal+and+Veera+Narasimha
- Thanjakan,
- Thandakan and
- Tharasura with their deathless boon granted by Lord Shiva began to harass the sage and others performing penance with him.
- Mahavishnu took the Narasimha form and defeated Thanjaka who took the elephant form. Lord placed the demon on His lap to kill him when he gained wisdom and shed his cruel traits. He also begged the Lord to stay in the place and bless all. He also begged that the place should be named after him. His boon granted, the place came to be known as Thanjamapuri.
- Seeing the defeat of Thanjaka, Thandakan hid himself under the earth. Lord became a Varaha, entered the hiding and killed the demon.
- Tharaka was killed by Kali.
Lord Vishnu who destroyed the demons graces in three separate temples as
- Neelamegar,
- Manikundra Perumal and
- Veera Narasimha in three forms.
https://www.google.com/search?site=imghp&tbm=isch&source=hp&biw=1280&bih=643&q=Neelamega+Manikanda+Perumal+and+Veera+Narasimha