What is the hardest sentence Lothar von Throtha could get in Germany for his crimes?

Lothar von Trotha committed genocide as the commander of the colonial force in German Southwest Africa (Namibia). In OTL this outraged the German society but he wasn't really harshly treated. What is the hardest sentence he'd get in imperial Germany and what would change if the communist revolution was successful in 1919?
 
The most that the Kaiser would have allowed would have been to relieve him of command. Officials back in those days were rarely (if ever) tried for human rights abuses.
 
The most that the Kaiser would have allowed would have been to relieve him of command. Officials back in those days were rarely (if ever) tried for human rights abuses.
That's actually more or less OTL he got a medal for his success but the Kaiser did not meet him and ignored him. That is something quite unusual for this time.
 
Top