How did armies deal with rapists prior to rape becoming a war crime post-WW2?

by [deleted]

u/sunagainstgold touched on this in their excellent answer on sexual violence in the Middle Ages. I thought that this was distinct enough to merit its own question.

My question is, broadly, what were the consequences for soldiers who raped and / or sexually assaulted people (civilians, prisoners, or other members of their own military) during the two World Wars. I'm aware this is a very broad question, so here are some more specific ones I'm particularly curious about:

  • If a German soldier on the Eastern front raped a Soviet citizen would he be in trouble for rape or for race mixing? Or both? Or not at all?
  • If the rape was male on male, would the authorities of the time consider this worse due to the homosexual aspect of the crime?
  • If rape wasn't explicitly a war crime, what were those rapists who were punished (assuming there were any) convicted of, and under what rules?
  • I know the Duke of Wellington punished looters and rapists during his campaigns in France and Spain in order to gain the support of the local populations. Did the armies of the two World Wars use the same rationale?
Georgy_K_Zhukov

This older answer addresses only part of your question, but does look at how the US Army during the conflict prosecuted and punished the crime, as well as the racial bias in how those policies were carried out.