Depending on its initial mass, it might collapse to a compact hot star known as a white dwarf (when the star's mass is less than 1.4 times the mass of our sun) or to a neutron star (for stars 1.4 to about three times the mass of our sun) or to a black hole (for stars more massive than three times the mass of our sun).
CNN: Why gamma-ray burst shocked scientists