As Kalimayai captured the king of Thiruvitankur and began to rule over the people as their king, Thirumal came to Thiruvananthapuram according to Ayyavazhi mythology. This falls under Akilam five in Akilathirattu Ammanai.
When Thirumal decided to go to Thiruvananthapuram the temple boy of Sri Rangam and a Brahmin fall on his feet and asked humbly, “Your greatness, your children The Santror are suffering due to the activities of the cruel Kalineesan, why you are going to the land of the neesan?” Thirumal replied, “Before I go to help the Santror, I must advise the neesan. Otherwise during the judgment he will claim, ‘You took birth among the santror and so you destroyed me and my dynasty.’ In order to overcome that I must advise him beforehand.” Again the temple boy praised him and asked, “The kalineesan will perform pujas, he will light lamps for you, if you don’t accept it what is the situation of us who do the same?” From the very first moment the Kaliyan entered this world I stopped accepting all these things. And only after destroying the Kaliyan and appointing a rule of Dharma in the world, will I accept those things. By saying this Thirumal walked towards Thiruvananthapuram.
A pulacchi knew the arrival of Thirumal through a dream. Sensing this, Thirumal hid in a place. The pulacchi advertised this to all, and all of them believed. By knowing this the Kalineesan erected temples with golden pillars. He created a perfumed atmosphere, and musical instruments were played and the Pulacchi carried the Theevetti, the family of sin performed puja. The nampoodiri and the Brahmins praised him and were delighted. These ostentatious festivals were held every day. But in the midst of it all, Thirumal stayed hidden without intent. Although he stayed without intention, because of him the land became most prosperous. So the people of the land were happy. It received rainfall thrice in a month. And the land became an incomparable one.
When the Neesan was ruling like this, he had no offspring and was worried. He fell on the feet of Thirumal and requested him to give him a male child. By hearing this Thirumal told him that he would not have any children if he remained there. He also said that Neesan would get a child if he went to Kasi and performed Tavam on the bank of the river there. He accepted this and he went to Kasi and started performing tavam there. When he was on his tavam he saw a cleric embracing a woman, and Neesan became severely aroused, his semen falling in the water. A white crane swallowed this and became pregnant and delivered a boy-baby in the water. A sage in white, Punal rishi took the baby that was white in appearance, and nurtured him.
This child was brought up by the Punal rishi. Punal rishi taught all the techniques of worldly life to him. And when he attained the age of marriage he arranged two girls of the Chenkomatti to marry him and made him the ruler of the land. He led a prosperous life.