After subduing the rebellious Cossacks in the 1626 Battle of Bila Tserkva, the next owner of the estate was prince Jerzy Dymitr Wiśniowiecki. The castle was successfully taken by Bohdan Khmelnytsky in 1648. The Battle of Bila Tserkva (1651) led to the signing of a peace accord with the cossacks. The Treaty of Bila Tserkva between the Polish–Lithuanian Commonwealth and Ukrainian Cossack rebels under Bohdan Khmelnytsky was signed here in 1651. In 1666, 6,000 Muscovite troops laid siege to Bila Tserkva. The standoff lasted until the following year when Polish reinforcements led by Jan Stachurski with the aid of allied cossacks and Iwan Brzuchowiecki smashed Petro Doroshenko's stranglehold.