After Paul's death in 1801 the palace was proclaimed a residence of his widow, Maria Feodorovna. During that time, it was frequently visited by famous poets and novelists including Sergey Glinka, Nikolay Karamzin and Ivan Krylov. Vasily Zhukovsky was a regular reader for Maria Feodorovna and the teacher of Russian language and literature for Princess Charlotte of Württemberg, the wife of Grand Duke Michael Pavlovich of Russia who inherited Pavlovsk after the death of Maria Feodorovna in 1828. Michael Pavlovich spent his childhood in Pavlovsk, and then cared much about the city. Being a military person, he mostly improved well-being of the military corps staged near Pavlovsk and built barracks, riding stables, forge and workshops. But he also improved the roads of Pavlovsk, donated significant amounts to the church and established an orphanage and a school for middle-class children.