Golden Liberty
The Agreement of Łęgonice, which was signed on 31 July 1666 in the village of Legonice, ended the so-called Lubomirski Rokosz, a rebellion against Polish King Jan II Kazimierz Vasa, initiated by a magnate and hetman, Jerzy Sebastian Lubomirski. The rokosz was started in defence of the so-called Golden Liberty, as Lubomirski feared royal plans for strengthening the position of the king and introduction of the so-called vivente rege election.