While being carried away he died of gas poisoning but it was entirely due to him that the enemy was defeated and the line remained intact.
While being carried away from the scene of battle he died of gas poisoning. However, it was due to his efforts that the enemy was defeated and the line remained intact.