The East Somerset Railway Company was incorporated under the East Somerset Railway Act 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.