In their first demonic lives, Jaya-Vijaya were born as Hiranyakashipu and Hiranyaksha to sage Kashyapa and Diti in an inauspicious time during a sunset. To tease lord Brahma and other gods, Hiranyaksha ensured that earth loses its vitality and sinks into the rasatala, the lowest level in the cosmic universe. Vishnu assumed the form of a boar referred to as Varaha and restored earth to its normal position. Varaha later killed Hiranyaksha in a war that lasted for thousand years. Hiranyakashipu vowed to seek revenge and prayed to Brahma. He gained a boon which made him invulnerable to death either by day or night, either in the morning or the night, and either by a human or a beast.