Until the mid-13th century, the land where the river Kłodawka meets the Warta was the location of a defensive fort established by the Polish Piast dynasty [REF].
The city became part of Poland in accordance with the provisions of the post-war Potsdam Conference, and most of the remaining German population was expelled.