In the Kalika Purana, Varaha - Vishnu's boar avatar - had amorous dalliance with the earth goddess. He and his three boar sons then created mayhem in the world, which necessitated Shiva to take the form of Sharabha, to kill the Varaha form. Even, Vishnu requests Shiva to destroy Varaha, unable to control his own form. Here, Narasimha appears to aid Varaha. Sharabha kills Narasimha first and then kills Varaha, allowing Vishnu to reabsorb the energies of both his fierce forms. Finally, Sharabha defeats Vishnu.