Казимир IV
In 1440, the town joined the Prussian Confederation, which opposed Teutonic rule, and upon the request of which King Casimir IV Jagiellon reincorporated the territory to the Kingdom of Poland in 1454. With Lauenburg Land it became a Polish fief during the Thirteen Years' War in 1455, held by the Dukes of Pomerania.