The old town was dramatically transformed in 1846 by the construction of the railway viaduct across the valley of the burn and the opening of Kinghorn Station by the Edinburgh and Northern Railway which had its terminus at Burntisland for ferries across the Forth to Granton. Much of the former horse ferry traffic from Pettycur Bay was lost to Burntisland.