When did Frederick William IV of Prussia die?

Frederick William IV of Prussia died on 1861-01-02.