Until the opening of the Forth Bridge in 1890, passengers from Edinburgh to Dundee would cross the Firth of Forth by a ferry from Granton which connected with trains at Burntisland. Further north, the Firth of Tay had been bridged in 1878, and trains could travel through from Burntisland to Dundee and onward to Aberdeen.