Nikolai Vasilevich Gogol was born in 1809; his family belonged to a minor gentry of Ukrainian Cossack extraction, and his father was the author of a number of plays based on Ukrainian popular tales. He attended school in Nézhin and gained a reputation for his theatrical abilities. He went to St. Petersburg in 1829 and with the help of a friend gained a post in one of the government ministries. Gogol was introduced to Zhukovsky, the romantic poet, and to Pushkin, and with the publication of Evenings on a Farm near Dikanka (1831) he had an entrée to all the leading literary salons. He even managed for a short period to be a professor of history at the University of St. Petersburg (1834–1835).