human
I have a question about the history of train travel. Who invented the first steam engine?
assistant
The first steam engine was invented by Thomas Newcomen in 1712. He built a steam engine that could pump water out of mines. The steam engine was used to pump water out of mines, which was a very important invention at the time.