Invention of the railroad