on 13 august 1865, the parliament of württemberg decided to build the black forest railway from zuffenhausen via leonberg to calw. this line connected weil der stadt to the rail network. the state railways built weil der stadt station north of the town. the monumental entrance building has survived but it is now used for other purposes.