Original: De Valera was court-martialled, convicted, and sentenced to death, but the sentence was immediately commuted to penal servitude for life.
Simplified: After the fighting de Valera was court-martialled, convicted, and sentenced to death, but the sentence was changed to for life imprisonment.