The Seebeck effect is the conversion of temperature differences directly into electricity and is named after the Baltic German physicist Thomas Johann Seebeck. Seebeck, in 1821, discovered that a compass needle would be deflected by a closed loop formed by two different metals joined in two places, with a temperature difference between the junctions. This was because the metals responded to the temperature difference in different ways, creating a current loop and a magnetic field. Seebeck did not recognize there was an electric current involved, so he called the phenomenon the thermomagnetic effect. Danish physicist Hans Christian Ørsted rectified the mistake and coined the term "thermoelectricity".