2020 PA state refund received in 2022 - do I claim on 2021 federal tax return?

Hello!

 

Due to military orders and backlog, I just received (Feb 2022) my 2020 PA state refund with about $20 in interest.


Do I claim this refund and interest on my 2021 federal tax return in the income section? Or what until next year (2023)?

 

I can’t find much information on whether it’s year received or the year it was filed. Any help is appreciated!