The Dearne Valley line is the name given to a railway line in the north of England running from York to Sheffield via Pontefract Baghill and Moorthorpe. The route was built over several years and consists of lines built by several railway companies. History The northernmost section of the route was opened in stages by the fledgling York and North Midland Railway (Y&NM), a company which belonged to the railway empire of George Hudson. York to Sherburn Junction was completed in 1839 to form a link with the Leeds and Selby Railway, which was later taken over by the Y&NM. This section includes Ulleskelf, Church Fenton and Sherburn-in-Elmet stations, as well as the former station sites at Copmanthorpe (closed 1959) and Bolton Percy (closed 1965). Y&NM extended the line to Altofts Junction in 1840 to meet the new North Midland Railway as part of a new route from York to London St Pancras via Normanton, Swinton, Chesterfield and Derby. Stations on this section were Milford (closed 1904), Monk Fryston (closed 1959) and Burton Salmon (also closed in 1959), where the present route diverges. The next section, from Burton Salmon to Ferrybridge, was completed in 1850 to form a link between York and Knottingley; Ferrybridge station closed in 1965. From Ferrybridge, the route takes up the course of the Swinton and Knottingley Joint Railway, constructed in 1879. The first station encountered is Pontefract Baghill, which remains open today, before the line reaches a closed station at Ackworth (last served in 1951), then the station at Moorthorpe. The small hamlet of Frickley saw its station close in 1953, but two new stations at Thurnscoe and Goldthorpe were opened in 1986. These are primarily served by Wakefield Line trains; the two Dearne Valley line trains a day pass through without stopping. Finally, the S&KJR's Bolton-on-Dearne station has remained open throughout. Beyond Bolton-on-Dearne the line joins the North Midland's route to the south, opened in 1840 and serving Swinton, a new station here replacing that closed in 1967 and Kilnhurst West (also closed in 1967). At Aldwarke Junction the route diverges from the North Midland via a junction constructed by British Rail and opened in 1965. Here it joins the former Manchester, Sheffield and Lincolnshire Railway line, part of a link between two branch lines opened many years earlier by the South Yorkshire Railway. This section once had stations at Parkgate and Aldwarke (closed