Alliance was created both in the Kingdom of Poland and in the Grand Duchy of Lithuania. Members of the confederation, which consisted mostly of unpaid soldiers, demanded their money. They were supported by some members of the nobility, who above all wanted to keep their ancient privileges, opposed any reforms and wanted to keep the so-called free royal election. Not all soldiers and nobility supported the rebellion – those who remained loyal to the King, under Stefan Czarniecki, created their own confederation, the so-called Pious Alliance. The 1662 Sejm opposed all attempts of reform of the government, allowing only to introduce extra tax for the army. The King, however, did not give up. Aware that Jerzy Lubomirski was the main source of his problems, in 1664 accused the magnate of treason. Sejm court found Lubomirski guilty, confiscated his properties, sentenced him to infamy and ordered to leave Poland. Lubomirski left for Habsburg-controlled Silesia, where he tried to organize an army (with financial support of the Habsburgs) to invade the territories of Poland controlled by the Royal Army. In 1665 Lubomirski announced a rebellion, and his army entered the Commonwealth. On 13 July 1666 he faced royal army under the King himself. Lubomirski's forces were victorious. After the battle, elite regiments, consisting of best soldiers of the Polish Army were murdered by the rebels (altogether, the army lost almost 4,000 of its most experienced men). On 31 July, at the village of Legowice, the King and Lubomirski signed an agreement. John II Casimir gave up his plans of a reform and declared amnesty for the rebels, while Lubomirski signed a letter of apology. In 1668, under the pressure of the Polish Parliament, the nobility and because of the sudden death of the Queen, the King abdicated. Sources See also Rokosz Confederation (konfederacja) Zebrzydowski's Rokosz Chicken War Rebellions in the Polish–Lithuanian Commonwealth 17th-century rebellions 1665 in the Polish–Lithuanian Commonwealth 1666 in the Polish–Lithuanian Commonwealth