NBA great Charles Barkley donated $1 million to the historically black Miles College, the single largest gift in the Alabama school's 122-year history, the school said.

The Hall of Famer has a history of giving to Historically Black Colleges and Universities (HBCUs), the school said Wednesday in a news release.

“It’s great that Mr. Barkley thinks enough of Miles College to donate a million dollars. This gift lays the foundation to launch our $100 million dollar comprehensive campaign,” school interim President Bobbie Knight said.

COCO GAUFF KNOCKS DADS FOR CURSING ON SIDELINES OF TENNIS MATCH

Barkley, who serves as a studio TV analyst, previously pledged $1 million each to Alabama A&M, Clark Atlanta University and Morehouse College.

CLICK HERE FOR THE FOX NEWS APP

Over the past year, Barkley had gotten to know Knight, the first woman to lead the Fairfield school. She was named interim president in July.

"I’ve gotten to know Bobbie over the last year and it was something I really wanted to do,” Barkley said. “To have a female president is a big deal. I want to help Bobbie be as successful as she can be.”

The Associated Press contributed to this report.