Trains By Stergios K 1594 The first railway line in England, a wooden-railed, horse-drawn tramroad was built at Prescot, near Liverpool 1784 William Murdock demonstrated a steam carriage powered by a high pressure engine 1830 The first public railway in the United States 1837 Robert Davidson built the first electric locomotive 1840 The Wilmington and Weldon Railroad in North Carolina becomes the longest railroad in the world with 161.5 miles (259.9 km) of track 1868 A railway line from Athens to the port of Piraeus 1912 The world's first diesel locomotive was operated in Switzerland 1912 The world's first diesel locomotive was operated in Switzerland 1990 World speed record for an electric train is set in France by a TGV, reaching a speed of 515 km/h 2018 Alstom Coradia hydrogen-powered train enters service in Germany