The Leeds and Selby Railway was an early British railway company and first mainline railway within Yorkshire. It was opened in 1834. As built, the line ran west/east between two termini, Marsh Lane station, Leeds and Selby railway station. The company was leased and then acquired by the York and North Midland Railway in 1840 and 1844; the line remained in use through the subsequent NER, LNER, BR and post-privatisation periods. The line is still in mainline use for services operated by TransPennine Express and Northern. These trains operate from Leeds to Selby, Hull, York and beyond.