The railway line between Hull and Selby first opened in 1840 to carry people and cargo directly to the Humber Dock.