The now poor Dmitri Mendeleev family relocated to Saint Petersburg, where he entered the Main Pedagogical Institute in 1850.