sentences:  The settlement was transformed into an industrial centre at the turn of the 19th century, when coal mining and weaving flourished.As a result of the First Silesian War the city was annexed by the Kingdom of Prussia in 1742, and subsequently became part of Germany in 1871.In 1843 the city obtained its first rail connection, which linked it with Breslau (now Wrocław, Poland).