
In 1992, Robert Duncan and Christopher Thompson proposed the existence of magnetars to explain the sources of soft gamma repeaters (SGR). The first such object, SGR 0526-66, was observed back in 1979.
A magnetar is born during the core collapse of a massive star. Rapid rotation and convection act as a dynamo, amplifying the magnetic field to 10¹¹ T (the Earth's field is about 5×10⁻⁵ T). Over time, the field decays, releasing energy that heats the crust and causes gamma-ray flares.