Rick Majerus, who coached at four schools and led Utah to the NCAA Tournament final, died after an extended illness.

Utah industrialist Jon Hunts­man, the coach’s longtime friend, confirmed in a statement released through The Salt Lake Tribune that Majerus died of heart failure in a Los Angeles hospital. The coach had been hospitalized there for several months.

Players remembered Majerus as a coach who was exacting and perhaps a bit unorthodox at times, but always fair.

“It was a unique experience, I’ll tell you that, and I loved every minute of it,” said Saint Louis guard Kyle Cassity, who was mostly a backup on last season’s 26-win team after starting for Majerus earlier in his college career.

“A lot of people questioned the way he did things, but I loved it. He’d be hard as hell on you, but he really cared.”

The school announced Nov. 19 that Majerus wouldn’t return to Saint Louis because of the heart condition. He ended the school’s 12-year NCAA Tournament drought last season, and bounced back from his only losing season, with a team that won its opening game and took top regional seed Michigan State to the wire. The Billikens were ranked for the first time since 1994-95.

Majerus was undergoing evaluation and treatment in California for the ongoing heart trouble and the school announced he was on leave in late August.

Loyola of Chicago coach Porter Moser, a former Majerus assistant at Saint Louis, tweeted, “RIP to my friend and mentor Coach Majerus. I learned so much about the game and life. We lost One of the best! My heart is heavy tonight.”

Majerus had a history of heart problems dating to 1989 that persisted despite a daily constitutional of a one-mile swim. He had a stent inserted in August 2011 in Salt Lake City and missed some games in the 2011-12 season after gashing his leg in a collision with players.

Majerus was 95-69 in five seasons at Saint Louis and had a 25-year record of 517-216. He had his most success at Utah, going 323-95 from 1989-2004. He was at Marquette from 1983-86, and Ball State from 1987-89.

“Rick left a lasting legacy at the University of Utah, not only for his incredible success and the national prominence he brought to our basketball program, but also for the tremendous impact he made on the young men who were fortunate enough to play on his teams,” Utah athletic director Dr. Chris Hill said in a statement.

“His standard of excellence extended beyond the basketball court and into the academic and personal success of his players. He will be deeply missed and we grieve for his family and all of his friends.”

Majerus took 12 teams to the NCAA tournament and four to the NIT, with the 1998 Utah team losing to Kentucky in the NCAA championship game.

“It’s a sad day for college basketball,” UNLV coach Dave Rice said. “Certainly one of the great college basketball coaches. He took talent where they were most effective. When you went up against Coach Majerus and you won you knew you did something special.”