Hans Christian Ørsted (Danish: [ˈɶɐ̯steð] ; 14 August 1777 – 9 March 1851), sometimes transliterated as Oersted (/ˈɜːstɛd/ UR-sted), was a Danish chemist and physicist who discovered that electric currents create magnetic fields. This phenomenon is known as Oersted's law. He also discovered aluminium, a chemical element.
A leader of the Danish Golden Age, Ørsted was a close friend of Hans Christian Andersen and the brother of politician and jurist Anders Sandøe Ørsted, who served as Prime Minister of Denmark from 1853 to 1854.