In 1849, the now poor Mendeleev family went to Saint Petersburg, where he entered the Main Pedagogical Institute in 1850. After graduation, tuberculosis caused him to move to the Crimean Peninsula on the northern coast of the Black Sea in 1855. While there he became a science master of the Simferopol gymnasium №1. He returned with fully restored health to Saint Petersburg in 1857.