Old state.
Next year, when you file your 2023 state returns, you will file as a part year resident of both states.