James Watt, a Scottish inventor and mechanical engineer, was responsible for improvements to the steam engine of Thomas Newcomen, hitherto used to pump water out of mines.
The first full-scale working railway steam locomotive was built in the United Kingdom in 1804 by Richard Trevithick, an English engineer born in Cornwall.