The Edinburgh and Glasgow Railway, conscious of its own importance as an inter-city railway, had made approaches to take over the Edinburgh Leith and Granton Railway in 1845, but this had come to nothing. The EL&GR had run out of money during the construction work and needed a wealthy sponsor, so on 27 July 1847 it was taken over by the Edinburgh and Northern Railway, which was in the process of building its line to Perth and the southern shore of the Firth of Tay. As the E&NR was completing its main lines, it changed its name to the Edinburgh, Perth and Dundee Railway on 1 April 1849. The passenger journey from Edinburgh to Dundee therefore started at what is now Edinburgh Waverley station; coaches were hauled up the steep incline in tunnel to Scotland Street, and then on to Granton by steam engine. At Granton, the passengers changed to a ferry boat which took them to Burntisland, then a terminus. Their train left in an eastward direction and ran across Fife to Ferryport-on-Craig, later renamed Tayport, where they changed to a second ferry boat to cross the Tay. The ferry landed them at Broughty Ferry, where they boarded a final train to convey them into Dundee.