The Shrishti Khanda book of the Padma Purana provides an elaborate description of the war between the gods and the demons led by Hiranyaksha. The demon army is routed by the gods, who in turn by overpowered by the demon-king. Vishnu combats with Hiranyaksha for a hundred divine years; finally the demon expands his size and seizing the earth escapes to the netherworld. Vishnu follows him, taking up the Varaha form and rescues the earth. After engaging in a fierce mace-battle, Varaha finally beheads the demon with his discus.