Complex sentence: When the wrongly imprisoned soldier received the bad news, he escaped just in time because his father was killed by the group and he saved his daughter, but grievously wounded.
Split into simpler sentences: When the wrongly imprisoned soldier received the bad news, he escaped prison. Just in time, because while his father was killed by the group, the soldier saved his daughter, but was grievously wounded.