UConn men’s basketball coach Dan Hurley has cashed in the national championship for the Huskies and has agreed to a new six-year, $31.5 million contract, the school announced Thursday.

Connecticut Huskies head coach Dan Hurley reacts as he cuts the net after defeating the San Diego State Aztecs 76-59 during the NCAA Men’s Basketball Tournament National Championship game at NRG Stadium on April 3, 2023 in Houston, Texas. (Logan Riely/Getty Images)

The deal, which runs through 2029, will pay Hurley an average of $5.25 million per season and includes incentives that could increase his compensation, the school said.

UCONN STUDENTS EXPELLED FROM SCHOOL AFTER VANDALIZING CAMPUS AFTER NCAA CHAMPIONSHIP WIN

The contract replaces a package signed in 2018 when Hurley was signed that paid him about $3 million per season.

Dan Hurley in the game

Connecticut Huskies head coach Dan Hurley looks on during the NCAA Men’s Basketball Tournament Final Four championship game against the San Diego State Aztecs at NRG Stadium on April 3, 2023 in Houston, Texas. (Mitchell Layton/Getty Images)

«I am delighted to have Dan Hurley lead our men’s basketball program,» said David Benedict, the school’s director of athletics. «The work that he and his staff have done over the past five years in rebuilding our program, culminating in the Huskies once again reaching the pinnacle of college basketball, has been extraordinary. I know the entire nation of UConn is delighted that Dan will continue to lead this program for the foreseeable future.»

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Hurley, 50, is 104-55 at UConn, a program he took over in March 2018 after three losing seasons and the firing of former coach Kevin Ollie amid NCAA violations.

The Huskies went 31-8 last season en route to the program’s fifth national title, winning every game in the NCAA Tournament by double digits. Hurley’s 13-year coaching record, which includes seasons at Wagner and Rhode Island, is 255-160.

Dan Hurley speaking to the press

Connecticut Huskies head coach Dan Hurley reacts while answering questions during the press conference after defeating the San Diego State Aztecs 76-59 during the NCAA Men’s Basketball Tournament National Championship game at NRG Stadium on April 3, 2023 in Houston, Texas. (Logan Riely/Getty Images)

«I want to thank the players and staff who helped make this promotion possible,» Hurley said in a statement. «Coaching at the University of Connecticut is an honor and we intend to build on our success as one of the premier college basketball programs.»

Hurley was in New York on Thursday to watch the NBA draft, which is expected to include UConn prospects Jordan Hawkins, Adama Sanogo and Andre Jackson Jr.

CLICK HERE TO GET THE FOX NEWS APP

The school said the salary increases in Hurley’s contract will be covered by donations to the Husky Athletic Fund and increased revenue from ticket sales.