After having been incorporated into Poland (1466) it was the place where the County Administration ("Starostwo") was located.
Through the Partitions of Poland the town came to Prussia and was returned to Poland in 1919 as part of the Polish Corridor which was created by the Treaty of Versailles.
Memorials of gen. Józef Haller and Engagement of Poland with the sea