Radom remained within the Sandomierz Voivodeship of the Polish–Lithuanian Commonwealth until the third partition of Poland (1795). For a few years (1795 - 1809) it was part of the Austrian province of West Galicia, and then (1809 - 1815) part of the Duchy of Warsaw, which named it capital of the Radom Department. From 1815 the city belonged to Russian-controlled Congress Poland, remaining a regional administrative center. In 1816 - 1837 it was the capital of the Sandomierz Voivodeship, whose capital, despite the name, was at Radom. In 1837 - 1844 it was the capital of the Sandomierz Governorate, and from 1844 until the outbreak of World War I, the capital of the Radom Governorate. The city was an important center of the November Uprising. Its obsolete and ruined fortifications were destroyed upon order of Mayor Józef Królikowski. In the early days of the January Uprising, Marian Langiewicz visited Radom, preparing the rebellion. In 1867 a sewage system was built. Streets were gradually paved, and in 1885, a rail line from Dąbrowa Górnicza to Dęblin was completed, via Radom. In the early 20th century a power plant was built. The city was captured by the Austro-Hungarian Army in July 1915. An Austrian garrison remained until November 1918.