The first telephone was invented by Alexander Graham Bell in 1876. It consisted of a transmitter and receiver, both of which were connected to a diaphragm. The diaphragm was connected to an electromagnet, which was used to convert sound waves into electrical signals. These signals were then sent over a wire to the receiver, which converted them back into sound.