Who invented the first steam locomotive in the world?

The world's first steam locomotive running on the track is the "New Castle" steam locomotive. It was designed and manufactured by the British inventor Richard Trevithick, who was born in poverty and wandered around. On February 29th, 1804, this locomotive (with a dead weight of 5 tons) was put into operation for the first time on the track between Messer Tidwell and Abatai in South Wales, with a speed of 8 kilometers per hour. It can only drag more than ten tons, which is not much better than a horse-drawn cart. But it started the glorious course of the first steam locomotive in the world railway history. Hello. Prior to this, Trevithick also manufactured his first steam-powered car that can run on ordinary roads at 180 1, and applied for a patent right at 1802. But once, he invited eight friends to go for a ride together. After driving eight kilometers, he sat down in a restaurant to drink whisky and eat roast goose. As a result, he forgot all the steam locomotives pushed aside, so the water in the boiler was boiled dry and the boiler wall was burned red, which triggered a fire and burned the hotel and the steam car together. Hello 1803, Trevithick went on to invent his second steam locomotive that can pull 25 tons. However, this motorcycle crashed into a brick wall during a performance due to driving mistakes, which was damaged and scrapped. Hello 1804, Trevithick invented his third steam locomotive (the earliest "new castle" in the world), which was once used by people in London, but unfortunately it overturned and broke down. The steam locomotive invented by Trevithick was too heavy to adapt to the wooden track that was only used for horse-drawn carriages at that time. After repeated accidents, it failed to be further improved, so it gave up halfway, so it was not widely used. He died of poverty in 1833.