In the Shiva Purana, the annihilation of Hiranyaksha appears as a cursory tale in the story of subduing of his adopted son Andhaka by Shiva. The demon king Hiranyaksha confines the earth to Patala. Vishnu becomes Varaha (identified with Sacrifice) and slaughters the demon army by trashing them by his snout, piercing by tusks and kicking by his legs. Finally, Varaha decapitates the demon king with his discus and crowns Andhaka as his successor. He picks the earth on his tusks and places it in her original place.