This is always a confusing question because it is easy to get the words, engine and train mixed up, many people assume you mean a train if you say steam engine so, therefore, it was Thomas Savery in 1679 who first invented the steam engine for work in mines. However, it was George Stephenson who adapted the idea of the steam engine and invented the first steam train, also called a locomotive, in 1829.
Before the train is made, the Greeks made wagons. It was not used for more than fifteen centuries when the Greeks empire fell. Wagons began to reappear again in the renaissance period.
Stephenson’s earliest locomotive designs were focused on constructing locomotives for coal from the mines, but in 1823 he joined forces with Robert Stephenson, his son, and Edward Pease and they became the first locomotive builders in the world.
On 27th September 1825, George Stephenson was at the controls of a locomotive that made a journey of just less than nine miles in two hours on the newly opened Stockton and Darlington line. Four years later in 1829, Stephenson designed the Rocket, a steam train locomotive capable of pulling many loads including passengers. It was this train that stimulated the huge growth in the railways industry and was very influential in the development of the industrial revolution.
Stephenson went on to discover a rich coal seam while he was cutting the Clay Cross railway tunnel and formed the Clay Cross Company in 1837. The Company built houses for the miners and their families resulting in 400 new homes and an entire community of schools, shops, a church and a Mechanics Institute, all at the company’s expense.