Kentucky has signed men's basketball coach John Calipari to a new seven-year deal worth $52.5 million guaranteed, the school announced Thursday.

Calipari led the Wildcats to the school's 16th Final Four appearance this past season.

Calipari will receive a package of $6.5 million next season, $7 million in 2015-16, $7.25 million in 2016-17, $7.75 million in 2017-18, and $8 million each of the final three seasons.

He will make a base salary of $400,000 per year through 2020-21, but will make millions more annually in endorsements and retention bonuses. For example, his guaranteed compensation for 2014-15 includes the base salary of $400,000, a retention bonus of $1.6 million and media/endorsements of $4.5 million.

Calipari took to Twitter after the deal was announced Thursday:

I'd like to thank @UKMitchBarnhart and @UKYpres for their commitment to me, my family and the basketball staff. - John Calipari (@UKCoachCalipari) June 5, 2014

I've said over and over that I have the best job in the country. - John Calipari (@UKCoachCalipari) June 5, 2014

Already one of college basketball's highest-paid coaches, Calipari led the Wildcats to the 2012 NCAA championship and is coming off his third Final Four appearance in five years with Kentucky, a 60-54 title-game loss to Connecticut in April. He often has been rumored as a potential candidate for NBA head-coaching openings, most recently this spring with the Los Angeles Lakers.

Calipari reiterated at that time his happiness with Kentucky, later using social media to state his commitment after Los Angeles fired coach Mike D'Antoni.