 After four years service he retired, and became active in St. Petersburg government.In 1834 he was made a Russian senator, and it was from that time that his name began to be known as a great philanthropist, devoting his energies primarily to education.He founded the Imperial School of Jurisprudence, at which Russia's future judges and administrators were educated, and in 1844 he was appointed head of an organization to further the education of women.