The forerunner of the railway in Germany, as in England, was to be found mainly in association with the mining industry.
The railways in Germany were given a significant impetus by the development of the first working locomotives in England (by Richard Trevithick in 1804 and John Blenkinsop in 1812) and the opening of the first public railway, the Stockton and Darlington Railway, in 1825.