Südpreußen
In 1793, following the Second Partition of Poland, the town and region was annexed into the Kingdom of Prussia as South Prussia. In July 1807, following the Treaty of Tilsit, the town was transferred to the Duchy of Warsaw and after June 1815, became part of the Russian Congress Poland to 1916.