On Dec. 23, 1944, General Dwight Eisenhower endorsed the finding of a court-martial in the case of Eddie Slovik (who was tried for desertion) and authorized his execution.
On his way to the firing squad the following January, Slovik said,
They’re not shooting me for deserting the United States Army, thousands of guys have done that. They just need to make an example out of somebody and I’m it because I’m an ex-con. I used to steal things when I was a kid, and that’s what they are shooting me for. They’re shooting me for the bread and chewing gum I stole when I was 12 years old.
Slovik was executed in France on January 31, 1945, by a firing squad of 12 enlisted men. Read a detailed history of this case at American Heritage.