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.