As a result of the Third Partition of Poland the city was annexed by Austria. During the Austro-Polish War of 1809 it was captured by prince Józef Poniatowski and joined with the Napoleon controlled Duchy of Warsaw, but after the fall of Napoleon Bonaparte in 1815 it was joined with the Russian controlled Kingdom of Poland. For a brief period when Kraków was an independent city-state (Republic of Kraków), Kielce became the capital of the Kraków Voivodeship. Thanks to the efforts by Stanisław Staszic Kielce became the centre of the newly established Old-Polish Industrial Zone ("Staropolski Okręg Przemysłowy"). The town grew quickly as new mines, quarries and factories were constructed. In 1816 the first Polish technical university was founded in Kielce. However, after Staszic's death the Industrial Zone declined and in 1826 the school was moved to Warsaw and became the Warsaw University of Technology.