NBA legend Charles Barkley made a very specific amendment to his will following the Supreme Court’s decision to ban affirmative action on college admissions.

In a 6-3 decision, the Supreme Court rejected the use of race as a factor in college admissions, saying it is a violation of the equal protection clause of the 14th Amendment.

Because of the decision, which outraged many, Barkley said he will leave $5 million to Auburn, his alma mater, in hopes that the university will remain diverse, according to sports.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Charles Barkley during the Eastern Conference Finals between the Boston Celtics and the Miami Heat at the Kaseya Center on May 21, 2023 in Florida. (Megan Briggs/Getty Images)

«After yesterday’s ruling, my phone was blowing up. I was talking to my friends and I said, ‘I need to make sure black people always have a place in Auburn.'»

TMZ Sports added that just over 5% of Auburn students are black.

CHARLES BARKLEY MOCKS ON CNN BEFORE LAUNCH OF NEW WEB SHOW: ‘JUMPING ON THE TITANIC’

Barkley is not the only one who criticized the Supreme Court decision, since President Biden also gave his strong opinion on the matter.

«In case after case, even recently, just a few years ago in 2016, the court has affirmed and reaffirmed this view that universities could use race, not as a determining factor for admission, but as one factor among many. to decide who to admit,» Biden said. «…the court once again departed from decades of precedent.»

The NAACP also called the ruling «hate-inspired», calling it a «dark day in America».

Charles Barkley during the national championship

Charles Barkley on air before the NCAA Final Four game between Connecticut and San Diego State on April 3, 2023, in Houston, Texas. (Mitchell Layton/Getty Images)

«Today, the Supreme Court bowed to the personal beliefs of an extremist minority. We will not allow hateful people in power to turn back the clock and undermine our hard-won victories. Tricks from the dark past of Israel will not be tolerated. United States,” NAACP President Derrick Johnson wrote in a statement.

«Let me be clear: Affirmative action exists because we cannot depend on colleges, universities, and employers to enact admissions and hiring practices that embrace diversity, equity, and inclusion,» he continued. «Race plays an undeniable role in shaping African-American identities and quality of life. In a society still scarred by the wounds of racial disparities, the Supreme Court has shown willful ignorance of our reality. The NAACP does not will be deterred or silenced in our fight to hold leaders and institutions accountable for their role in embracing diversity no matter what.»

Charles Barkley looks up

Charles Barkley watches the NBA Finals between the Miami Heat and the Denver Nuggets on June 4, 2023 at Ball Arena in Colorado. (Justin Tafoya/NBAE via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

This was not the only ruling the Supreme Court has made in terms of education, having rejected Biden’s student debt pamphlet last week.