First Partition of Poland
In 1772 as a result of the First Partition of Poland the town was annexed by the Kingdom of Prussia. In 1871, it became part of the newly created German Empire.