One of the main ones in Andrusov was the dispute through Kiev. The Polish commissioners stubbornly refused to give Kiev to Russia. However, in the end, they had to agree to the presence of Russian troops in the city for two years, after which Kiev had to withdraw to Poland.
Russia has pledged to keep a strong guard in Kiev, as well as to strengthen the Kiev fortress in order to be able to defend the city from the Tatars and Turks.
The Andrusov truce, which put an end to the war between Russia and Poland, worried Turkey. The Turkish government began negotiations with the hetman of the Right-Bank Ukraine Doroshenko, seeking to seize the Right Bank with Kiev.
In 1677, a hundred thousand Turkish army invaded the Right-Bank Ukraine. Turkish troops besieged Chigirin, but could not capture the city. The second campaign of the two hundred thousandth Turkish army in 1678 was also unsuccessful. Russian troops and Ukrainian Cossacks repulsed an enemy attack on Kiev and Right-Bank Ukraine. However, even after these two unsuccessful campaigns, Turkey did not abandon plans to seize Kiev and Right-Bank Ukraine.
In the summer of 1679, a large Turkish army was concentrated on the Danube, which was preparing for a new campaign against Kiev and Left-Bank Ukraine. The Russian government assembled an army of one hundred thousand under the command of voivode P. V. Sheremetyev and a regiment of Ukrainian Cossacks of Hetman G. Samoilovich. These troops were supposed to defend Kiev.
All summer they stood around the city. At the same time, fortifications were hastily built: ditches were dug, earthen ramparts were poured around the Old Town and Pechersk. In the same year , the Streltsy under the command of Colonel S. Yanova and the supervision of master V. Fedorov brought bridges across the Dnieper - "on plows, anchors and ropes", which ensured the rapid transfer of troops and supplies to the Right Bank.
Taking into account the experience of previous campaigns and learning about the well-organized defense of Kiev, the Turkish sultan did not dare to attack Ukraine and was looking for ways to reconcile with Russia.
A peace treaty was signed in Bakhchisarai in January 1681 between Russia and Turkey and the Crimean Khanate. And in 1686, the so-called "Eternal Peace" was signed between Russia and Poland. All this marked the victory of Russia and Ukraine in the common struggle against the Turkish-Tatar and Polish-gentry aggressors. In both agreements, issues about Kiev were separately highlighted. Russian diplomacy has achieved complete success. Kiev remained part of the Russian state. lvov.natashaescort.com/en/