Samuel Morse developed Morse code in the 1830s-40s to transmit messages via telegraph wires. His code used combinations of dots and dashes to represent letters, numbers, and punctuation. The system's efficiency made long-distance communication practical for the first time. Morse code revolutionized global communication, especially for railways, military, and maritime use.