On February 21, 1804, Richard Trevithick's unnamed steam locomotive hauled a train with five loaded cars along the tramway of the Penydarren Ironworks, in Merthyr Tydfil, Wales. Richard Trevithick (1771 – 1833) was a British inventor and mining engineer from Cornwall, England.