sentences:  A brewery was founded as well as several brick factories, a horse breeder, hospital.As a result of the 3rd Partition the town was annexed by Austria.During the Polish-Austrian 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.