The town was annexed by Austria in the Third Partition of Poland in 1795. Following the Austro-Polish War of 1809 it was included in the short-lived Polish Duchy of Warsaw. The 19th century was not lucky for Lubartów, as the town, which from 1815 to 1915 belonged to Russian-controlled Congress Poland, burned several times (1831, 1838, 1846). Two battles between Polish insurgents and Russian troops were fought there during the Polish uprisings of 1830–1831 and 1863–1864. In 1866 it became the seat of a county, and slowly began modernization. By 1912 it had seven manufacturing enterprises, including mills and a brewery, in 1922, glassworks were opened.