Deductions & credits

If I had a 5000.00 winning lottery from 2021 but did not cash it until 2022,which year would I show the winning amount in