The Tranent to Cockenzie Waggonway was the first railway in Scotland, opened in 1722. It was 2½ miles long and connected two towns in East Lothian, transporting coal from the pit heads at Tranent to Cockenzie harbour via Meadowmill. Horse drawn wagons were used which held 2 tons of coal. On the return journey the horses would pull 5 empty wagons back to Tranent making around 3 round trips per day.