Paul von Hindenburg
Paul Ludwig Hans Anton von Beneckendorff und von Hindenburg ( ), known simply as Paul von Hindenburg (] ( ) ; 2 October 1847 – 2 August 1934), was a German general and statesman who led the Imperial German Army during World War I and later became President of Germany from 1925 until his death during the Weimar Republic. He played a key role in the Nazi "Machtergreifung" in January 1933 when, under pressure from advisers, he appointed Adolf Hitler Chancellor of Germany.
Paul von Hindenburg
Born to a family of minor Prussian nobility, Hindenburg joined the Prussian army in 1866 where he saw combat during the Austro-Prussian and Franco-Prussian wars. He retired with the rank of General of the Infantry in 1911, but was recalled to military service at the age of 66 following the outbreak of World War I in July 1914 and shortly thereafter received nationwide attention as the victor of the Battle of Tannenberg and promotion to Field Marshal. Upon later being named Chief of the General Staff in 1916, his popularity among the German public dramatically increased and produced a large cult of personality. Taking advantage of Wilhelm II's broad delegation of authority to the Army High Command, Hindenburg and his deputy, General Erich Ludendorff, established a "de facto" military dictatorship that controlled Germany for the rest of the war.
Kurt von Schleicher
Schleicher was born into a military family in Brandenburg an der Havel on 7 April 1882. Entering the Prussian Army as a lieutenant in 1900, he rose to become a General Staff officer in the Railway Department of the German General Staff and served in the General Staff of the Supreme Army Command during World War I. Schleicher served as liaison between the Army and the new Weimar Republic during the German Revolution of 1918–19. An important player in the Reichswehr's efforts to avoid the restrictions of the Treaty of Versailles, Schleicher rose to power as head of the Reichswehr's Armed Forces Department and close advisor to President Paul von Hindenburg from 1926 onward. Following the appointment of his mentor Wilhelm Groener as Minister of Defense in 1928, Schleicher became head of the Defense Ministry's Office of Ministerial Affairs ("Ministeramt") in 1929. In 1930 he was instrumental in the toppling of Hermann Müller's government and the appointment of Heinrich Brüning as Chancellor. He enlisted the services of the Nazi Party's SA as an auxiliary force for the Reichswehr from 1931 onward.
Kurt von Schleicher
Beginning in 1932, Schleicher served as Minister of Defense in the cabinet of Franz von Papen and was the prime mover behind the "Preußenschlag" coup against the Social Democratic government of Prussia. Schleicher organized the downfall of Papen and succeeded him as Chancellor on 3 December. During his brief term, Schleicher negotiated with Gregor Strasser on a possible defection of the latter from the Nazi Party, but the plan was abandoned. Schleicher attempted to "tame" Hitler into cooperating with his government by threatening him with an anti-Nazi alliance of parties, the so-called "Querfront" ("cross-front"). Hitler refused to abandon his claim to the chancellorship and Schleicher's plan failed. Schleicher then proposed to President Hindenburg that the latter disperse the Reichstag and rule as a de facto dictator, a course of action Hindenburg rejected.

Question: Kurt Ferdinand Friedrich Hermann von Schleicher was a close advisor to which German military officer who served as the elected President of Germany from 1925 until his death in 1934?
Answer: Paul von Hindenburg