Complex sentence: He managed only to wound himself, and he was court-martialled on 6 April and hanged on 8 April.
Split into simpler sentences: He managed only to wound himself. Court-martialled on 6 April he was and hanged on 8 April.