Puffing Billy was one of the three railway engines built by William Hedley, the resident engineer at Wylam Colliery. The railway steam locomotives were built to replace the horses used to pull wagons on the tramway.