The settlement was founded in the 13th century and was granted town rights in 1305.
During the Napoleonic Wars in 1807 Polish soldiers of General Jan Henryk Dąbrowski were quartered in the town. In 1831, several Polish infantry and artillery units, engineer corps, sappers and general staff of the November Uprising stopped in the town on the way to their internment places.[1]
^Kasparek, Norbert (2014). "Żołnierze polscy w Prusach po upadku powstania listopadowego. Powroty do kraju i wyjazdy na emigrację". In Katafiasz, Tomasz (ed.). Na tułaczym szlaku... Powstańcy Listopadowi na Pomorzu (in Polish). Koszalin: Muzeum w Koszalinie, Archiwum Państwowe w Koszalinie. pp. 138–139.