The first Polish steam mill was built in 1828 in Warsaw-Solec; the first textile machine was installed in 1829. Greater use of machines led to production in the form of workshops. The government was also encouraging foreign specialists, mostly Germans, to upkeep larger establishments, or to undertake production. The Germans were also relieved of tax burden. This allowed to create one of the largest European textile centres in Łódź and in surrounding towns like Ozorków and Zduńska Wola. These small and initially insignificant settlements later developed into large and multicultural cities, where Germans and Jews were the majority in the population. With the abolition of border customs in 1851 and further economic growth, Polish cities were gaining wealth and importance. Most notably, Warsaw, being associated with the construction of railway lines and bridges, gained priority in the entire Russian market.