Complex sentence: He asks for permission from the Hantei to do anything to stop the end of the world; when it is granted, Shoju stabs the Hantei through the heart.
Split into simpler sentences: He asks for permission from the Hantei to do anything to stop the end of the world. And when it was granted, Shoju stabbed the Hantei through the heart.