Moby Madness is looking for a new maestro.

Niko Medved, who just completed a historic, 26-10 season as men’s basketball coach at CSU Rams, will take the same position with Minnesota, it was revealed Monday morning.

CSU athletic director John Weber confirmed reports of Medved’s exit for his alma mater with a statement released just after noon.

“I am incredibly appreciative of Niko’s leadership over the past seven years, and I wish him and his family the very best in their next chapter,” Weber said in the statement.

Medved later thanked CSU fans in a post on social media Monday afternoon, expressing gratitude to Rams faithful for their support.

“Fort Collins is truly a special place, and being the Head Basketball Coach at Colorado State has been one of the greatest honors of my life,” Medved said in his post. “The time has come, however, for me to take over at the University of Minnesota.”

Weber said a national search for a head coach is already underway and that assistant coach Ali Farokhmanesh has been named interim head coach for the time being.

A department source said the school expected Medved’s successor to be hired quickly.

“Colorado State men’s basketball is a championship program,” Weber’s statement read. “Great student-athletes have chosen Colorado State and have achieved outstanding success in the Green and Gold that has propelled them to professional success in the NBA and beyond. Ram Country has made Moby Madness special and a real home-court advantage. We will not miss a beat, and we will continue to build on the championship foundation in place.”

Medved, 51, posted a 143-85 record over seven seasons in Fort Collins, and those 143 victories rank second all-time in CSU history behind Jim Williams, who won 352 contests from 1954-1980.

CSU entered the NCAA Tournament as one of the hottest teams in the country, having won 11 in a row before being knocked out of the Big Dance on Sunday by Maryland on a controversial last-second bank shot by Terrapins center Derik Queen.

Minnesota announced Monday that it had agreed to a six-year contract with Medved. A news conference in Minneapolis has been scheduled for 11 a.m. MT Tuesday.

Last April, CSU announced that it had signed Medved to a new five-year extension through 2029 with option years for 2029-30 and 2030-31. That extension paid Medved $1.7 million annually and had him slated to make at least $1.75 million in 2025-26. According to USA Today, this season’s compensation ranked second among Mountain West Conference men’s basketball coaches at public schools behind San Diego State’s Brian Dutcher ($2.4 million).

As part of his buyout from CSU, Medved owes 33% of the remaining value of his contract, which from a 2029 end date would total at least $2.4 million.

CSU’s 26 wins this past season were tied for the second-most of any Rams men’s basketball campaign and the most since Larry Eustachy’s 2012-13 squad posted a 26-9 record in 2012-13. Of the 15 20-win seasons in CSU history, Medved was the coach for five of them.

Medved steered the Rams to three NCAA tourney appearances over the last four seasons, and CSU’s Mountain West Conference tournament championship in 2025 was the program’s first since 2003.

The Rams opened the season with a 5-5 record and were expected to face something of a transitional year after the loss of CSU’s all-time leading scorer, point guard Isaiah Stevens, following a 25-11 record in ‘23-24. But thanks to all-league wing Nique Clifford and the emergence of sophomore guard Kyan Evans, CSU posted a 16-4 record in conference play, good for second in the Mountain West.

Several Minnesota news outlets had reported earlier this that Medved, a Gophers alum and Twin Cities native, was the top target of athletic director Mark Coyle to replace the fired Ben Johnson. Weber told The Post on Selection Sunday that he had yet to talk to another university seeking permission to speak to Medved.

Nevertheless, Medved is now headed back to Minneapolis, where he was born, and Minnesota, where he attended school and previously served as an assistant coach under Dan Monson and Jim Molinari in 2006-07.