Will I have Wash sale?

If I bought 500 shares in June 2021 and sold 2 puts with expiration date Jan 2023. After I bought 500 shares in Jan 2022, sold all shares with loss on 17th of June 2022 and if my puts would be assigned, will I have wash sale?