In the mid-nineteenth century the railways came. Leith had one horse-drawn line pre-dating steam-trains, bringing coal from Dalkeith to a station at the north end of Constitution Street, to serve the glassworks there. This dated from the late 18th century. Steam trains arrived in the 1840s, being some of the earliest lines in Britain. When the railways were at their height, Leith had four passenger stations and many goods stations. However, in the 1950s it was recommended that the closure of almost all of Leith's railway infrastructure. Today, only one freight line that connects to the dock remains in use.