In 1810 he was in high school in the city of Voronezh and later studied in the University of Kharkiv. In 1814 he graduated from Kharkiv and went to Saint Petersburg (St. Petersburg) to work with the government.