1567. In 1570 Tarnów became property of the Ostrogski family, after Zofia Tarnowska, the daughter of the hetman, married prince Konstanty Wasyl Ostrogski. In 1588, after Konstanty's death, the town changed hands several times, belonging to different families, which slowed its development. Until the Partitions of Poland, Tarnów belonged to the County of Pilzno, Sandomierz Voivodeship. The town, like almost all locations of Lesser Poland, was devastated in October 1655, during the Swedish invasion of Poland, and as a result, its population declined from 2,000 to 768. In 1723, the town became the property of the Sanguszko family, which purchased it from the Lubomirski family. Habsburg Empire After the first partition of Poland (1772), Tarnów was annexed by the Habsburg Empire, and remained in Austrian Galicia until late 1918. Austrian rule initially brought positive changes, as the town ceased to be private property, became the seat of a county (German: kreis), and of the Roman Catholic Diocese of Tarnów (1783). On 14 March 1794, Józef Bem was born in Tarnów. In the 1830s, under the influence of events in Congress Poland (see November Uprising), Tarnów emerged as a center of Polish conspiratorial organizations. Plans for a national uprising in Galicia failed in early 1846, when local peasants began murdering the nobility in the Galician slaughter. The massacre, led by Jakub Szela (born in Smarżowa), began on 18 February 1846. Szela's peasant units surrounded and attacked manor houses and settlements located in three counties – Sanok, Jasło, and Tarnów. The revolt got out of hand and the Austrians had to put it down. Tarnów went through the period of quick development in the second half of the 19th century, due to the program of construction of the railway system. In 1852, the town received rail connection with Kraków, due to the Galician Railway of Archduke Charles Louis, and in 1870, its population was 21,779. In 1878, gas lighting was introduced, and three years later, the first daily newspaper appeared. In 1888, the Diocese Museum was founded by Rev. Jozef Baba, and in 1910, Tarnów received modern waterworks, a power plant and a new complex of the main rail station. The city remained a hotspot of Polish conspirational activities, with up to 20% of all members of the Polish Legions in World War I coming from Tarnów and its area. On 10 November 1914, units of the Russian Imperial Army captured Tarnów,