In 1878, the GWR joined the East Somerset line with the Cheddar Valley line to Wells, which had been built by the Bristol and Exeter Railway, by obtaining running rights over a section of the Somerset and Dorset Joint Railway and running its trains through the S&DJR Wells station at Priory Road, though GWR trains did not stop at Priory Road until 1934. At this stage, the main traffic became the through trains from Yatton to Witham and the East Somerset Railway station in Wells closed, with Wells (Tucker Street) becoming the station for the city on the line. The Yatton to Witham service remained in use with the GWR and later BR until passenger service finally ceased in 1963 as a result of the Beeching Axe, however trains carrying bitumen continued until 1985.