sentences:  It was a royal possession from then until 1386 when King Władysław Jagiełło gave it to "Sędziwój Pałuka z Szubina".At that time the town already had the right to hold markets.By 1390 the town had full Magdeburg rights.