Мешко I
Also there are remains of a Slavic fortress nearby. The area became part of the emerging Polish state under its first ruler Mieszko I of Poland in 963. Later it was part of Pomerania, and then Greater Poland within the fragmented Kingdom of Poland, until its annexation by the Ascanian margraves of Brandenburg in the 1284, who then founded the town at the site.