When did Frederick William II of Prussia die?

Frederick William II of Prussia died on 1797-11-16.