A retired state employee said he thought he was throwing away junk mail.
But he actually was throwing away more than $24,000 in unpaid wages.
Friday, the state treasurer made it right.
Clarksburg resident Bill Ramsey received a check for money he's earned but hadn't claimed.
Ramsey is one of many people across the state who have unclaimed funds.
He said he plans to spend the money on his grandkids.