The famous inventor of the telegraph code Samuel Morse took no interest in science for 40 years. He studied at the Royal Academy of Arts in England and was an itinerant painter. He founded the National Academy of Design in New York and became its first president. But in 1836, when Morse was shown the description of the telegraph model, he became fully engaged in inventions. On June 20, 1840 Morse received a patent for the electromagnetic telegraph, and on May 24, 1844 the first telegraph message from Washington to Baltimore was sent using Morse method, the message said: “What hath God wrought!” Morse code is based on the following principle: the more a character is used in the English language, the easier the combination of dots and dashes to encode it.