According to the traditional accounts, he fell in love with Kumudavalli, a
Vaishnava doctor's adopted daughter at Thiruvellakkulam (also known as Annan Kovil). She gave a set of conditions that he must become a Vaishnavaite and that he must feed a thousand people for over a year, every day. During that process, he was so attracted to
Vaishnavism that he started constructing temple walls for Srirangam. Unable to bear the heavy expense of feeding a thousand people, Kaliyan resorted to highway robbery. One day, he saw a group of people returning from a marriage, with the bride and groom. He and his assistants were able to get all the loot, but the toe ring from the groom was left. He tried to remove them, but could not do so. Then he realised the bridegroom was none other than
Vishnu himself.
Narayana revealed himself to Kaliyan and transformed him by teaching the
Narayana mantra or
Ashtakshara (the eight syllabled) –
Om Namo Narayanaya, turning the robber into a saint, and starts singing the first verse of
Periya Tirumoli (Vaadinen Vaadi). The temple-god of Thirunaraiyur (Naraiyur Nindra Nambi) – a form of Vishnu – is believed to have initiated Thirumangai into Vaishnavism, by teaching him the
pancha samskara. The first ten verses of Thirumangai's poem
Periya Tirumoli sing of his transformation, after receiving the
spiritual knowledge from Vishnu. I became a thief deceitful and dishonest I wandered hither and thither yet light dawned upon me – I reached Your feet and instantly your grace fell upon me with melting heart and choked voice your praises I sing bathed in streaming tears I repeat day and night the sacred name of Narayana (Vishnu) ==As a Vaishnava saint==