Use stream of consciousness to answer the following. Three discoveries challenged this foundation of magnetism, though. First, in 1819, Hans Christian Ørsted discovered that an electric current generates a magnetic field encircling it. Then in 1820, André-Marie Ampère showed that parallel wires having currents in the same direction attract one another. Finally, Jean-Baptiste Biot and Félix Savart discovered the Biot -- Savart law in 1820, which correctly predicts the magnetic field around any current-carrying wire.\n\nAnswer this question based on the passage: who discovered the magnetic field of electric current?
User
The important part for answering this question is: First, in 1819, Hans Christian Ørsted discovered that an electric current generates a magnetic field encircling it. Final answer: Hans Christian Ørsted.
Assistant