The East Somerset Railway Company was incorporated under the '''''' (
19 & 20 Vict. c. xvi) on 5 June 1856 and was built as a
broad gauge line. The line was originally between
Witham railway station and
Shepton Mallet and this line opened on 9 November 1858. It was planned by Mr. Brunel and built by engineer Mr. Ward and contractor Mr. Brotherwood. The station buildings at Shepton and Witham Friary, as well as the bridges along the route, were constructed of
Inferior Oolite from nearby
Doulting Stone Quarry. Shepton was now from London by rail, a journey of just over four hours. Four years later the line was extended to
Wells. This part of the line was opened on 1 March 1862 and made it long. The East Somerset Railway was bought by the
Great Western Railway on 2 December 1874, shortly after it was
converted to . In 1878, the Great Western Railway (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 (S&DJR) and running its trains through the 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
British Railways until passenger service finally ceased on 7 September 1963, however trains carrying
bitumen continued until 1985. == Preservation ==