In the late 18th-century Partitions of Poland it was annexed by Prussia. In 1807 it was regained by Poles and included within the short-lived Polish Duchy of Warsaw.
In the late 18th-century partitions of Poland, it was taken over by Prussia. In 1807, it was reclaimed by Poles and became part of the short-lived Polish Duchy of Warsaw.