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