Electromagnetism

Electrical current flowing through wires creates magnetic fields, which can cause a compass needle to deflect and current-carrying wires to attract or repel each other. This discovery established the foundation of electro-magnetism in physics.
Hans Christian Ørsted Denmark 1820
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.