In their first demonic lives, Jaya-Vijaya are born as Hiranyakashipu and Hiranyaksha to the sage Kashyapa and Earth goddess Diti at sunset during an inauspicious time. Hiranyaksha, in an attempt to win over the deities, torments the Earth and its inhabitants. Bhudevi, the Earth goddess, goes to Vaikuntha and seeks Vishnu's help. Vishnu arrives as Varaha, a wild boar-faced avatar, kills Hiranyaksha and saves the Earth. Seeking revenge for his brother's death, Hiranyakashipu prays to Brahma for immortality. He becomes immune to being killed by various factors, including by man or beast.