Between 1885 and 1915, the original agricultural economy of Legnano finally became an industrial system. However, industrial development led to an agricultural crisis in the area, as many farmers abandoned their activities in the fields to work in the factories of Legnano. At the turn of the two centuries there was therefore a strong industrial and commercial development. For this expansion, the infrastructure for the transport of people and goods was very important. Next to the "strada statale del Sempione" was built the railway station of Legnano along the Domodossola–Milan railway line and, along the latter, the Milan-Gallarate tramway, which connected Legnano to Milan. The Milan-Gallarate tramway was later abolished in the second half of the 20th century.