Killed by the God, the crocodile at once acquired a divine appearance. He was a good-natured Gandharva (demigod) named Huhu, in his previous birth. By the curse of Mahatma Deval, he had to take birth in crocodile form. But now, by the grace of God he was saved and went to his heavenly abode. Gajendra too received salvation by mere touch of God. He too went to the heavenly abode of God.
In his previous birth, Gajendra was a king of Pandya dynasty. His name was Indradyumna. He was a fervent devotee of God. So he had abandoned his kingdom and taken to penance on Malay Mountain. One day he was engrossed in his worship when sage Agastya arrived there with his disciples. For not getting due welcome from the king, Agastya cursed him, “You with a dull mind, who neglect his guests will be born as an elephant.” But even in elephant incarnation, and by the virtues of his devotion, Gajendra retained the memory of his previous birth. God appointed him as his courtier and departed to his divine abode riding on Garuda.”