I own a 529 savings plan I contributed to for my grandson. He used the entire contents of the account in 2024. How do I get a credit for this on my 2024 tax return?

A check for the contents of the account was sent to me by the state. I sent the proceeds from the account to my son to use for tuition.