Magdeburg rights
In 1646, King Władysław IV Vasa granted Zhvanets the Magdeburg rights.