A detailed second account in the Bhagavata Purana narrates that Jaya and Vijaya, the doorkeepers of Vishnu's abode Vaikuntha, were cursed by the four Kumaras to be born as demons. In their first birth, they are born as the daityas Hiranyakashipu (who is slain by another Vishnu avatar Narasimha) and Hiranyaksha as the twin sons of Diti and the sage Kashyapa. Blessed by Brahma, the king of daityas Hiranyaksha became powerful and conquered the universe. He challenges the sea god Varuna to combat, who redirects him the more powerful Vishnu. The demon confronts Vishnu as Varaha, who is rescuing the earth at the time. The demon mocks Varaha as the beast and warns him not to touch earth. Ignoring the demon's threats, Varaha lifts the earth on his tusks. Varaha engages in a mace-duel with the demon. Varaha destroys with the discus, the demon horde created by the demon's magic; finally slaying Hiranyaksha hitting him with his foreleg after the thousand-year battle.