during The Deluge, then by the troops of George II Rákóczi leading to the Treaty of Radnot. During the Great Northern War, the Swedes again captured Rzeszów, in 1702, then several different armies occupied the town, ransacking it and destroying houses. In the mid-eighteenth century, the town's population was composed of Poles (Roman Catholics) and Yiddish Jews in almost equal numbers (50.1% and 49.8%, respectively). Rzeszów under Austrian rule In 1772, following the First Partition of Poland, Rzeszów became part of the Austrian Empire, to which it belonged for 146 years. In the late 18th century, Rzeszów had 3,000 inhabitants. By the mid-19th century, the population grew to around 7,500, with 40% of them Jewish. In 1858, the Galician Railway of Archduke Charles Louis reached Rzeszów, which resulted in further development of the town. In 1888 the first telephone lines were opened, in 1900 – gas street lamps, and in 1911 – a power plant and water system. The population grew to 23,000, with half of the inhabitants being Jews. A number of modern buildings were constructed, most of them in Secession style. During World War I, several battles took place near the town. Rzeszów was home to a large garrison of the Austro-Hungarian Army, and in the city of Przemyśl, located nearby, there was a major fortress. During the Battle of Galicia in the late summer of 1914, Russian troops moved towards Rzeszów, and on 21 September, they captured it. The first Russian occupation lasted only 16 days, ending after an attack by the Austrians, on 4 October. Under Russian pressure, the Austrians were unable to keep the town, and on 7 November, the Russians again appeared in Rzeszów. In the late fall of 1914, the front line was established between Tarnów and Gorlice, and Rzeszów became an important center of the Imperial Russian Army, with large magazines of food and ammunition located there. The Russian occupation lasted until May 1915. After the Russians were pushed out of Galicia, Rzeszów remained outside the area of military activity. The Austrian administration returned, but wartime reality and damage to the town had a negative effect on the population, and the quality of life deteriorated. Interwar period On 12 October 1918, Rzeszów's mayor, together with the town council, sent a message to Warsaw, announcing loyalty to the independent Second Polish Republic. On November 1, after clashes with German and Austrian troops, Rzeszów