Sun unleashes strongest flare in nearly two decades amid unusual solar activity