A magnetar is a type of neutron star with an extremely powerful magnetic field (~109 to 1011 T, ~1013 to 1015 G). The magnetic-field decay powers the emission of high-energy electromagnetic radiation, particularly X-rays and gamma rays.