University of Kentucky men’s basketball coach John Calipari agreed to a contract extension worth $36.5 million over the next eight years, the school announced Monday Morning.

“What John Calipari has done on and off the court in the past two years to reunite and rejuvenate this fan base has been magical,” said UK athletic director Mitch Barnhart in a statement. “He understands the responsibility that goes along with this position and there is no other coach out there that is a better fit for the best basketball program in the country.”

Calipari stands to make even more through the incentives and bonuses in the contract. He stands to receive $1 million retention bonuses in six of the eight years.

Calipari is 64-12 in two seasons with the Wildcats.