Jagiellonian dynasty
The settlement was first mentioned in the 12th century, when it was part of Piast-ruled Poland. It was granted town rights in 1511 under the Jagiellonian dynasty. It was a private town of Polish nobility, administratively located in the Płock Voivodeship in the Greater Poland Province of the Polish Crown.