In 1837 William Cooke and Charles Wheatstone patented an electric telegraph in Britain, and Samuel Morse and Alfred Vail developed a telegraph in the United States, with Morse code for messages.
Telegraph lines spread along railways and across oceans, and news and business messages could travel in minutes instead of days.