Richard Trevithick (13 April 1771 – 22 April 1833) was a British inventor and mining engineer from Cornwall. Born in the mining heartland of Cornwall, Trevithick was immersed in mining and engineering from a young age. The son of a mining captain, he performed poorly in school, but went on to be an early pioneer in steam-powered rail. His most significant contribution was to the development of the first high pressure steam engine, he also built the first full-scale working railway steam locomotive. On 21 February 1804 the world's first locomotive-hauled railway journey took place as Trevithick's unnamed steam locomotive hauled a train along the tramway of the Penydarren Ironworks, in Merthyr Tydfil in Wales.
Turning his interests abroad, Trevithick also worked as a mining consultant in Peru and later explored parts of Costa Rica. Throughout his professional career, he went through many ups and downs, and at one point faced financial ruin, also suffering from the strong rivalry of many mining and steam engineers of the day. During the prime of his career, he was a well-respected and known figure in mining and engineering, but near the end of his life and after he fell out of the public eye. Today, his legacy is mostly known to the mining, engineering, and railway circles.