Which country did the telegraph originate from?

The telegraph was born in the United States.

Although some people began to develop telegraphs as early as the early 19th century, the invention of practical electromagnetic telegraphs is mainly attributed to British scientists John Cook, Wheatstone and American scientist Morse. In 1836, John Cook built an electromagnetic telegraph and applied for the first telegraph patent the following year. Wheatstone was a collaborator with John Cook. Morse was originally a first-class painter in the United States. Out of interest, he developed a prototype of an electromagnetic telegraph in 1835. Later, he invented it in 1838 based on the two signals of sparks and no sparks when the current is turned on and off. The "Morse code" composed of dots and dashes.

The telegraph was the earliest reliable method of instant long-distance communication that used electricity to transmit information. It was developed in the United Kingdom and the United States in the 1830s. Telegraph information is sent in the form of electrical signals through dedicated switching lines. The signals use codes instead of letters and numbers. The commonly used code is Morse code. Now, with the popularization of telephones, faxes, etc., telegraphs are rarely used.