With the ongoing 1648–1654 Khmelnytsky Uprising, many residents of the city joined the ranks of the Khmelnytsky forces particularly during the 1649 Siege of Zbarazh that is located just . In September 1655 the united army of Muscovite and Ukrainian Cossack forces occupied Ternopil among other cities as it was moving towards Lwow (Lviv).