The final state of a solar flare