The territory became part of the emerging Polish state under its first ruler Mieszko I in the 10th century. The town probably originated from a Pomeranian settlement at an important trading route between Poznań and the Baltic Sea and has been a commercial centre ever since. In 1248 the settlement was known as Sconenvlete.
The area came under Polish control with Mieszko I in the 10th century. It is believed to have started from a Pomeranian village at a key trade route between Poznań and the Baltic Sea, functioning as a commercial center from then on. By 1248, it was known as Sconenvlete.