While scientists and inventors across the world began experimenting with batteries and the principles of electromagnetism to develop some kind of communication system, the credit for inventing the telegraph generally falls to two sets of researchers: William Cooke and Charles Wheatstone in England, and Samuel Morse, Leonard Gale and Alfred Vail in the United States.