Complex sentence: They tried again and succeeded in reaching and bandaging the wounded man, but just as they were lifting him up, the RAMC corporal was shot in the head.
Split into simpler sentences: They tried again and succeeded in reaching and bandaging the wounded man. However, just as they were lifting him up, the RAMC corporal was shot in the head.