The Poles tried to expel foreign forces in an uprising (the Confederation of Bar, 1768–1772), but the irregular and poorly commanded forces had litte chance in the face of the regular Russian army and suffered a defeat. Adding to the chaos was a Ukrainian peasant rebellion, the Koliyivschyna, which erupted in 1768 and resulted in massacres of noblemen (szlachta), Jews, Uniates, and Catholic priests before it was put down by Polish and Russian troops.