Samuel Morse (April 27, 1791 – April 2, 1872) was an American painter and inventor, best known for inventing the Morse code and the telegraph. Born in Charlestown, Massachusetts, he graduated from Yale University and studied painting in London, becoming a noted portrait and historical painter. In the 1830s, inspired by electromagnetism, he shifted focus to telegraphy. On May 24, 1844, he successfully demonstrated the first telegraph line from Washington, D.C., to Baltimore, sending the message "What hath God wrought." His invention revolutionized long-distance communication, laying the foundation for modern telecommunications. Morse also contributed to the arts, co-founding the National Academy of Design. He is remembered as a pioneer of the communication age.