Answer
Samuel F. B. Morse is credited with inventing the practical electrical telegraph separately of Joseph Henry. He worked on the telegraph in the 1830s and developed a system of telegraphy that used a code of dots and dashes to represent letters of the alphabet. Morse's telegraph was first used in 1844 to send a message from Washington, D.C. to Baltimore, Maryland.