With the 1866 transatlantic cable, the world’s continents were permanently connected. In many countries telegraph lines ran alongside railroads, which had flourished in the 1850s.