Following the Battles of Zbarazh and the Zboriv, Khmelnytsky gained numerous privileges for the Cossacks under the Treaty of Zboriv. When hostilities resumed, however, his forces suffered a massive defeat in 1651 at the Battle of Berestechko, the largest land battle of the 17th century, and they were abandoned by their former allies, the Crimean Tatars. They were forced at Bila Tserkva (Biała Cerkiew) to accept the Treaty of Bila Tserkva. A year later, the Cossacks had their revenge at the Battle of Batih, where, in 1652, Khmelnytsky ordered Cossacks to kill all Polish prisoners and paid Tatars for possession of the prisoners, an event known to as the Batih massacre.