An electrical telegraph was independently developed and patented in the United States in 1837 by Samuel Morse. His assistant, Alfred Vail, developed the Morse code signaling alphabet with Morse. This device for printing telegraph messages was invented in the 1840s. When a message was to be received, the weight was released turning the mechanism and feeding a strip of paper from a reel. Electrical telegraph signals coming in from wires energized electromagnets, which pulled down the iron or steel plate above them. By means of a pivoted lever, this raised the print head which placed indentations in the paper strip which could be read. Morse devised a code which represented each alphabetical letter by a series of short dots and long dashes.