Tirumangalam was an important place of pilgrimage in Mazhanad (Trichnopoly District).
The Lord Who dwells in this place is called Samavedesvarar. It was He Who purified Parasurama of
the sin of killing his mother and also gave him the axe.
In that enchanting place, there was a cowherd by name Anayar. Because he was tending
cows, he was known by that name. He was a staunch devotee of the Lord. He was devoted to the
Bhasma, and also to Siva Bhaktas, irrespective of their caste. His devotion to the Lord took the form
of playing on his flute the holy Panchakshara Mantra of Siva. He aspired to realise the Lord,
through this Mantra.
One day when he was playing the Mantra on his celestial instrument, under a Konrai tree (a
favourite of Lord Siva), the music captivated all the cows and calves. Even the birds sat on trees and
silently heard the enrapturing music of the flute. The peacocks danced in joy, keeping time with the
music. Hearing the music, other animals stood motionless. The music captivated the hearts of the
deer, snakes, lions, elephants, tigers, etc. The snake and the peacock, the lion and the elephant, shed
their enmity and lived together happily. The rivers stopped in their course. The waves in the sea
calmed, to hear the music of Ayanar. Even the celestials (Vidyadharas, Kinnaras and Devas,) came
in their celestial cars to hear the music.
The Lord was immensely pleased with Ayanar?s sincere devotion. The sweetness of the
music of the flute and the effect of the Panchakshara Mantra both melted His heart. He appeared
before Nayanar, with Mother Parvathi, blessed him and took him to Kailas.