 He served as prothonotary and clerk of the courts of Wyoming County, Pennsylvania, from 1920 to 1935.He was a delegate to the 1932 Democratic National Convention.Dietrich was elected as a Democrat to the Seventy-fourth Congress.