who rebuilt the city in a style similar to Dresden. The year 1727 marked the opening of the Saxon Garden in Warsaw, the first publicly accessible park. The Załuski Library, the first Polish public library and the largest at the time, was founded in 1747. Stanisław II Augustus, who remodelled the interior of the Royal Castle, also made Warsaw a centre of culture and the arts. He extended the Royal Baths Park and ordered the construction or refurbishment of numerous palaces, mansions and richly-decorated tenements. This earned Warsaw the nickname Paris of the North. Warsaw remained the capital of the Polish–Lithuanian Commonwealth until 1795, when it was annexed by the Kingdom of Prussia in the third and final partition of Poland; it subsequently became the capital of the province of South Prussia. During this time, Louis XVIII of France spent his exile in Warsaw under the pseudonym Comte de Lille. 1800–1939 Warsaw was made the capital of a newly created French client state, known as the Duchy of Warsaw, after a portion of Poland's territory was liberated from Prussia, Russia and Austria by Napoleon in 1806. Following Napoleon's defeat and exile, the 1815 Congress of Vienna assigned Warsaw to Congress Poland, a constitutional monarchy within the easternmost sector (or partition) under a personal union with Imperial Russia. The Royal University of Warsaw was established in 1816. With the violation of the Polish constitution, the 1830 November Uprising broke out against foreign influence. The Polish-Russian war of 1831 ended in the uprising's defeat and in the curtailment of Congress Poland's autonomy. On 27 February 1861, a Warsaw crowd protesting against Russian control over Congress Poland was fired upon by Russian troops. Five people were killed. The Underground Polish National Government resided in Warsaw during the January Uprising in 1863–64. Warsaw flourished throughout the 19th century under Mayor Sokrates Starynkiewicz (1875–92), who was appointed by Alexander III. Under Starynkiewicz Warsaw saw its first water and sewer systems designed and built by the English engineer William Lindley and his son, William Heerlein Lindley, as well as the expansion and modernisation of trams, street lighting, and gas infrastructure. Between 1850 and 1882, the population grew by 134% to 383,000 as a result of rapid urbanisation and industrialisation. Many migrated from surrounding rural Masovian towns and villages to the city for employment opportunities. The western borough of Wola was transformed from an agricultural periphery occupied