In the second half of the 18th century the Catherinine Russian Empire instigated a hysteria in local Eastern Orthodox population by promising protection from Catholicism and support leading to an armed conflict Koliivshchyna in the neighboring right-bank Ukraine which was part of the Polish–Lithuanian Commonwealth and resulting in the Polish Bar Confederation, Russian military invasion of Poland and its internal affairs, and successful partitions of the last. By the end of 18th century most of Ukraine was completely annexed by Russia. At the same time the Catherinine Russia gradually gained control over the area of Black Sea coast (northern Pontic coast) which was part the Ottoman realm at the conclusion of the Russo-Turkish Wars of 1735–39, 1768–74, 1787–92.