Poland's successive kings granted privileges to the nobility at the time of their election to the throne (the privileges being specified in the king-elect's Pacta conventa) and at other times in exchange for ad hoc permission to raise an extraordinary tax or a pospolite ruszenie.
What specified the kings privileges?
king-elect's Pacta conventa