During the Khmelnytskyi Uprising in 1648–54, the Kolomyia county became a centre of a peasant unrest (Pokuttya Uprising) led by Semen Vysochan. The rebels' centre was a town of Otynia. With the help of incoming Cossack forces, Vysochan managed to overtake the important local fortress of Pniv (today – a village of Nadvirna Raion) and eventually managed to take under its control most of cities and villages in the region providing great support for the advancing Cossack forces of Bohdan Khmelnytskyi. Soon however with advancing Polish troops, Vysochan was forced to retreat to the eastern Podillya where he continued to fight under commands of Ivan Bohun and Ivan Sirko.