Telegraph relays amplify an electrical signal in a telegraph line. Telegraph messages travel as a series of electrical pulses through a wire from a transmitter to a receiver. The pulses fade in strength as they travel through the wire, limiting the distance a message can be sent. Relays remedy that problem by detecting a weak signal and automatically re-transmitting that signal down the line using a local power source.