He renewed the assault and his trusted general Bali single-handedly defeated all the gods and swallowed them. Shiva fired powerful weapons at Bali, which forced him to disgorge all the gods. In retaliation, Shiva swallowed Śukra, the guru of the Asuras. Andhaka then launched an attack on Indra. Shiva intervened to save Indra and assaulted the demon with his trident. However, whenever Andhaka's blood fell on the ground, a copy of him would spawn. Vishnu created several Mātṛkās to drink the blood of the demon every time he was hurt, preventing the spread of new demons. Finally, Shiva managed to decapitate Andhaka. According to Shiva Purana, in a twist of events, since Andhaka had chanted Shiva's name in repentance after which he was told of his biological parentage and he was made a Gaṇa chief.