<human>:  Who invented the first steam engine?
<bot>: That would be James Watt, who was a Scottish engineer. He invented the first practical steam engine in 1769. He also invented the first successful atmospheric steam engine, which is used to power modern steam trains.