It was the first railway in the Kingdom of Lombardy–Venetia, part of the Austrian Empire, opening in 1840 as the Imperiale Regno Privilegiata Strada Ferrata da Milano a Monza ("Imperial and Royal Privileged Railway from Milan to Monza") and was 12 kilometers long.