Oersted died in 1851. His 1820 discovery marked the beginning of a revolution in the understanding of electromagnetism, providing the first connection between what had been thought to be two very different physical phenomena.
In 1820, a Danish physicist, Hans Christian Oersted, discovered that there was a relationship between electricity and magnetism. By setting up a compass through a wire carrying an electric current, Oersted showed that moving electrons can create a magnetic field.
Hans Christian Andersen achieved worldwide fame for writing innovative and influential fairy tales. Many of his stories, including "The Ugly Duckling" and "The Princess and the Pea," remain classics of the genre.