Complex sentence: At the same time the Indian soldier was able to fire shots into Mahfuz but Mahfuz who was still alive, with his last effort managed to kill the Indian soldier.
Split into simpler sentences: At the same time the Indian soldier was able to fire shots into Mahfuz at the same time. Mahfuz was surviving and in a sheer last effort managed to kill the Indian soldier.