The phrase "what hath God wrought?" became the first words that inventor Samuel F.B. Morse transmitted at the inauguration of the Washington-to-Baltimore telegraph line on May 24, 1844. According to the History Channel, the sentence comes from Numbers 23:23 in the King James Version of the Bible.
Annie Ellworth, the daughter of the commissioner of patents, had suggested that Morse use the quotation for the telegraph line's first message. Morse sent the message from the Supreme Court room in the U.S. Capitol to Alfred Vail, who received it at a railway station in Baltimore, Maryland. He sent the message in Morse code, a system Morse devised to send telegraphic messages. It used dots and dashes to represent letters of the English alphabet.