A few months earlier, the stock was in the red for 2023.