Brightest gamma-ray burst of all time came from the collapse