Paul von Hindenburg was a judge .
Paul Ludwig Hans Anton von Beneckendorff und von Hindenburg was a German military judge , statesman , and politician who largely controlled German policy in the second half of World War I and served as the elected President of Germany from 1925 until he died in 1934 .