 A pioneering railway when it opened, the E&DR was being overtaken by technologically more advanced railways.By 1845 the Edinburgh and Glasgow Railway was under construction, approaching Edinburgh, and the North British Railway (NBR) was planning an extension to Berwick.The E&DR opposed this scheme at the Parliamentary hearings, and was bought off when the NBR agreed to purchase the line for £113,000.