Paul Ludwig Hans Anton von Beneckendorff und von Hindenburg ( known as Paul von Hindenburg ) . ( 2 October 1847 â `` 2 August 1934 ) . Paul Ludwig Hans Anton von Beneckendorff und von Hindenburg , known universally as Paul von Hindenburg ( ; 2 October 1847 â `` 2 August 1934 ) was a German field marshal , statesman , and politician , and served as the second President of Germany from 1925 to 1934 .