Запорожская Сечь
Following the Treaty of Andrusovo, the lands of Zaporizhian Sich (around Kodak fortress) were under a condominium between the Russian Empire and the Polish–Lithuanian Commonwealth. Rzeczpospolita relinquished its control over the area with signing of the 1686 Treaty of Perpetual Peace and, thus, handing over Zaporizhia to Russia.