By: HISTORY.com Editors
Samuel Morse demonstrates the telegraph with the message, “What hath God wrought?”
In a demonstration witnessed by members of Congress, American inventor Samuel F.B. Morse dispatches a telegraph message from the U.S. Capitol to Alfred Vail at a railroad station in Baltimore, Maryland. The message—“What Hath God Wrought?”—was telegraphed back to the Capitol a moment later by Vail. The question, taken from the Bible (Numbers 23:23), had been suggested to Morse by Annie Ellworth, the daughter of the commissioner of patents.
Morse, an accomplished painter, learned of a French inventor’s idea of an electric telegraph in 1832 and then spent the next 12 years attempting to perfect a working telegraph instrument. During this period, he composed the Morse code, a set of signals that could represent language in telegraph messages, and convinced Congress to finance a Washington-to-Baltimore telegraph line. On May 24, 1844, he inaugurated the world’s first commercial telegraph line with a message that was fitting given the invention’s future effects on American life.
Just a decade after the first line opened, more than 20,000 miles of telegraph cable crisscrossed the country. The rapid communication it enabled greatly aided American expansion, making railroad travel safer as it provided a boost to business conducted across the great distances of a growing United States.
10 Military Inventions We Use Every Day
Many everyday tools—from zippers to Super Glue to computers—originated as military inventions.
Also on This Day in History
Discover more of the major events, famous births, notable deaths and everything else history-making that happened on May 24th
Related
Inventions & Science
97 videosAn 1838 photo that accidentally captured a man getting a shoe shine on a Paris street was almost lost to history. Twice.
Coca-Cola’s disastrous attempt at rebranding Coke in 1985 delivered a painful lesson: Don't mess with a classic.
Multiple inventors deserve credit for the technology, which had its origins in the 19th century.
About the author
HISTORY.com works with a wide range of writers and editors to create accurate and informative content. All articles are regularly reviewed and updated by the HISTORY.com team. Articles with the “HISTORY.com Editors” byline have been written or edited by the HISTORY.com editors, including Amanda Onion, Christian Zapata, Cristiana Lombardo and Adrienne Donica.
Fact Check
We strive for accuracy and fairness. But if you see something that doesn't look right, click here to contact us! HISTORY reviews and updates its content regularly to ensure it is complete and accurate.
Citation Information
- Article Title
- Samuel Morse demonstrates the telegraph with the message, “What hath God wrought?”
- Author
- HISTORY.com Editors
- Website Name
- History
- Date Accessed
- October 21, 2026
- Publisher
- A&E Television Networks
- Last Updated
- May 27, 2025
- Original Published Date
- July 20, 2010