 Finally, Shiva managed to decapitate Andhaka.In a twist of events, since Andhaka had chanted Shiva's name before dying he was made a Gaṇa chief.There is another version of the Purāṇa in which Andhaka's birth story and disownment by his clan remains the same.