The Hull and Barnsley Railway (H&BR) was opened on 20 July 1885. On incorporation and until 1905 it was the Hull, Barnsley and West Riding Junction Railway and Dock Company.