Lubomirski's rebellion

The rebellion ended with the Agreement of Łęgonice, which forced the King to give up his planned reforms like the introduction of vivente rege royal elections.

The problem was the issue of royal elections in Poland since the King and his supporters wanted to introduce Vivente rege, but his opponents disagreed with that system.

During the 1661 Sejm, the King urged all envoys to support extra taxes, which were needed to carry out election reform and pay the unpaid soldiers of the army.

In response, the magnates opposed royal proposal, and inspirated by Lubomirski, a confederation, the Holy Alliance, was created both in the Kingdom of Poland and the Grand Duchy of Lithuania.

Not all soldiers and nobility supported the rebellion, and those who remained loyal to the King, under Stefan Czarniecki, created their own confederation, the so-called Pious Alliance.

John II Casimir gave up his plans of a reform and declared amnesty for the rebels, and Lubomirski signed a letter of apology.