sentences:  In the late 18th century, it took down the old city walls, and made a New Town, filled with many German migrants.In the Second Partition of Poland in 1793 the city was annexed by Prussia.From 1807 it was part of the short-lived Polish Duchy of Warsaw and in 1815 it became part of Congress Poland, later on fully annexed by the Russian Empire.