of Lublin that formed the Polish–Lithuanian Commonwealth Kyiv with other Ukrainian territories was transferred to the Crown of the Kingdom of Poland, and it became a capital of the Kiev Voivodeship. Its role of Orthodox center strengthened due to expansion of Roman Catholicism under Polish rule. In 1632, Peter Mogila, the Orthodox Metropolitan of Kyiv and Galicia established the Kyiv-Mohyla Academy, an educational institution aimed to preserve and develop Ukrainian culture and Orthodox faith despite Polish Catholic oppression. Although ruled by the church, the academy provided students with educational standards close to universities of Western Europe (including multilingual training) and became the foremost educational center, both religious and secular. In 1648, Bohdan Khmelnytsky's Cossacks triumphantly entered the city in the course of their uprising establishing the rule of their Cossack Hetmanate in the city. The Zaporizhian Host had a special status within the newly formed political entity. The complete sovereignty of Hetmanate did not last long as the Polish–Lithuanian Commonwealth refused to recognize it and resumed hostilities. In January 1654, Khmelnytsky decided to sign the Treaty of Pereyaslav with Tsardom of Russia to obtain a military support against the Polish Crown. However, in November 1656 the Muscovites concluded the Truce of Vilna with the Polish–Lithuanian Commonwealth, which was approved by Bohdan Khmelnytsky. After his death, in the atmosphere of sharp conflicts his successor became Ivan Vyhovsky who signed the Treaty of Hadiach. It was ratified by the Crown in a limited version. According to Vyhovsky original intention, Kyiv was to become the capital of the Grand Duchy of Ruthenia on the limited federate rights within the Polish–Lithuanian–Ruthenian Commonwealth. However, this part of the Treaty was removed during the ratification. In the meantime, Vyhovsky's opponent Yuri Khmelnytsky signed the Second Treaty of Pereyaslav in October 1659 with a representative of Russian tsar. Russian Empire On January 31, 1667, the Truce of Andrusovo was concluded, in which the Polish–Lithuanian Commonwealth ceded Smolensk, Severia and Chernigov, and, on paper only for a period of two years, the city of Kiev to the Tsardom of Russia. The Eternal Peace of 1686 acknowledged the status quo and put the city under the control of Russia for the centuries to come. Kiev slowly lost its autonomy, which was finally abolished in 1775 by the Empress Catherine the Great. None of the Polish-Russian treaties concerning the city have ever been ratified. In 1834, St. Vladimir University was