When did Frederick William III of Prussia die?

Frederick William III of Prussia died on 1840-06-07.