A solar flare of the magnitude of the Carrington Event