The Stockton and Darlington Railway (S&DR) in north-eastern England was the world's first publicly subscribed passenger railway. Opened in 1825, it was built between Witton Park and Stockton-on-Tees via Darlington and connected to several collieries near Shildon. 26 miles (40 km) long, it was also the world's longest railway line at the time.
Planned to carry both goods and passengers, the line was initially built to connect inland coal mines to Stockton, where coal was to be loaded onto seagoing boats. Over the next 38 years the S&DR steadily expanded into a substantial network serving south and west Durham, Cleveland and Westmorland and running trains across Cumberland to within a few miles of the west coast. It was taken over by the North Eastern Railway in 1863, but by agreement continued to operate independently for a further 10 years.[citation needed] Much of the original 1825 route is now served by the Tees Valley Line, operated by Northern Rail.