an Entity references as follows:
Paliy uprising (also Palej uprising) was a Cossack uprising, led by colonel Semen Paliy against the Polish–Lithuanian Commonwealth in 1702-1704. In 1699 a new Polish king Augustus II disbanded the Cossack militia and signed a peace treaty with Ottoman Turkey. Cossacks were angered by this situation, and in 1702 colonel (polkovnyk) Paliy started an open rebellion against the crown, the last of the major Cossack uprisings against the Commonwealth. Together with a number of other Cossack polkovnyks, Paliy and his rebels captured Bila Tserkva, Fastiv, Nemirov and a few other towns. Rebellious Cossacks massacred their traditional enemies - Polish szlachta, Catholic priests and Jews - in the area they controlled. On October 17, 1702 Paliy and his Cossacks were defeated by the Polish army under h