If I buy and sell an EV within the same tax year will I still get the EV credit? I have had the EV for 7 months and looking to trade it in.

The car is a 2022 Kia EV6. I bought it in May