Electromagnetism
In 1820, it was demonstrated that an electric current creates a magnetic field. When currents flowed in opposite directions through wires placed close together, the wires repelled each other, whereas they attracted each other when the currents flowed in the same direction. This interaction was further illustrated by André-Marie Ampère, who showed that current flowing through a wire bent into a helix could strengthen the magnetic effect, with the helix acting like a magnet with a north pole and a south pole.