Clark Atlanta University received a surprise $1 million donation Tuesday from former basketball player Charles Barkley.

The basketball hall of famer and co-host of TNT's "Inside the NBA" announced on sports talk station WJOX-FM 94.5 in Birmingham he gave the historically black institution a $1 million as part of the trending Giving Tuesday campaign.

“We are delighted to receive this generous gift from Mr. Barkley,” Clark Atlanta President Ronald A. Johnson said. “This gift reflects Barkley’s tremendous heart and his desire to make a significant, positive and lasting difference in the lives of others. It is a testament to the importance of the transformative impact of CAU on its students, surrounding community, the nation and beyond.”

The university set a goal of $25,000 for Giving Tuesday, an online donation event birthed from the Black Friday and Cyber Monday phenomenon.

Reminder! Join us in celebrating generosity today by updating your profile pic and share how you gave! #GivingTuesday

Posted by GivingTuesday on Tuesday, November 29, 2016

"It doesn’t matter the amount or the area you where you give to make an impact on the University that made an impact on you," the school posted on it's Facebook page.

Barkley also donated $1 million to Alabama A&M University, also a historically black university.

In June 2015, Barkley donated $1 million dollars to Morehouse College, alma mater Auburn University and the Wounded Warrior Project in Atlanta.

RELATED: Charles Barkley to give a million to Morehouse, wounded warriors