After school, Dietrich fought in
World War I. He then completed a degree in chemistry, which he completed with a doctorate. In 1930, Dietrich became involved in
Nazi Party. Dietrich joined the
Nazi Party in 1933, and the
SS in 1936. In 1934, he played a leading role in the
July Putsch. In 1941 Dietrich held the rank of SS-
Obersturmbannführer. From September 1941 to November 1943 he served as the local SS and police chief in
Liepāja (
Libau in
German),
Latvia. Police units under his command carried out a number of
massacres of civilians in Liepāja, for the most part of Jewish ethnicity. The largest of the Liepāja massacres took place over three days from December 15 to December 17, 1941. On December 13, the newspaper
Kurzemes Vārds published an order by Dietrich which required all Jews in the city to remain in their residences on Monday, December 15 and December 16, 1941, thus facilitating the killing operations. From April 1944 to the end of the war, Dietrich was the police chief of
Saarbrücken. == War crimes trial ==