When did King Frederick William III of Prussia die?

King Frederick William III of Prussia died on June 7, 1840 at the age of 69.