Hindenburg remained in office until his death at the age of 86 from lung cancer at his home in Neudeck, East Prussia on 2 August 1934 (exactly two months short of his 87th birthday).
One day before Hindenburg's death, Hitler flew to Neudeck and visited him. Hindenburg, old and senile, thought he was meeting Kaiser Wilhelm II, and called Hitler "Your Majesty".
Hindenburg's image on a German postage stamp overprinted for use in Nazi-occupied Poland.
He was Germany's last president until 1945, when Karl Dönitz was appointed president according to Hitler's last testament upon the dictator's suicide, as following Hindenburg's death, Hitler declared the office of President to be permanently vacant, effectively merging it with the office of Chancellor under the title of Leader and Chancellor (Führer und Reichskanzler), making himself Germany's Head of State and Head of government, thereby completing the progress of Gleichschaltung. Hitler had a plebiscite held on 19 August 1934, in which the German people were asked if they approved of Hitler merging the two offices. The Ja (Yes) vote amounted to 90% of the vote.
In taking this action, Hitler technically violated the provisions of the Enabling Act. While the Enabling Act allowed Hitler to pass laws that contravened the Weimar Constitution, it specifically forbade him from interfering with the powers of the president. Moreover, the Weimar Constitution had been amended in 1932 to make the president of the High Court of Justice, not the chancellor, next in line for the presidency. However, Hitler had become law unto himself by this time, and no one dared object.