Sigismund II Augustus
It was established by Sigismund II Augustus in 1570 and granted Magdeburg Rights by Sigismund III Vasa in 1587.