Moved to CA for a year, want to sell my house in my prior state, need to pay CA tax?

Hi I moved to CA for a year now since mid 2022 and now a CA resident. Before that I lived in WA and I have my primary residence there bought back in 2015, lived in it till 2022 and converted it to a rental. I am thinking of selling it now. It has over 700k of capital gain. Most of the gain is from 2016-2021 when I am still living in WA.

I am wondering that if I sell my house now, for the 700k+ capital gain, excluding the 250k 121 exclusion, does that say 450k gain subject to CA state tax? Thanks!