In 1820, Gogol went to a school of higher art in Nezhin (now Nizhyn Gogol State University) and remained there until 1828.
In 1828, on leaving school, Gogol came to Saint Petersburg, full of vague but glowingly ambitious hopes.