Use "traitor" in a sentence

1. A soldier of mine who spoke those words would lose his head as a traitor.

Si un de mes soldats disait ces mots, il perdrait la tête pour trahison.