During the 19th century, railways revolutionized travel and communication for millions of people. The coming of the railways was made possible by the invention of high-pressure steam engines by English engineer Richard Trevithick, who also designed and built the first steam locomotives. At that time, working engines used steam only at atmospheric pressure or slightly above. Trevithick realized early on that steam under high pressure could lead to more compact, more powerful engines.