When a dying star runs out of fuel and sheds its outer layers, its remaining core can become an approximately Earth-sized, extremely dense stellar remnant called a white dwarf. For a white dwarf that is not strongly rotating or magnetized, there is a well-known upper mass limit of about 1.4 times the mass of the sun, known as the Chandrasekhar limit.
Strong magnetic fields could allow white dwarfs to grow beyond the Chandrasekhar limit