LAS VEGAS (ABC4 Sports) – In what was likely Mark Madsen’s last game as head coach of Utah Valley, the Wolverines lost in overtime to Alabama-Birmingham in the NIT semifinals in Las Vegas Tuesday night, 88-86.

Madsen, who has spent the last four seasons at UVU and led the Wolverines to a 28-9 record this year, is expected to be named the new head coach at Cal in the coming days.

“I’m incredibly proud of our entire locker room of players,” Madsen said after the game. “This team has great players. Players that work, and they just completed the best basketball season in UVU school history.”

Ty Brewer had a career-high 30 points with 12 rebounds and five steals for UAB, while Eric Gaines scored seven of his 13 points in overtime for the Blazers.

UAB (29-9) will face North Texas for the fourth time this season on Thursday for the NIT championship. UAB lost to North Texas twice in the regular season before winning 76-69 on March 10 to advance to its second straight conference tournament championship game.

Gaines scored UAB’s opening five points of overtime and Trey Jemison added a putback for an 81-76 lead. Gaines also made a contested shot in the lane to make it 83-78.

Brewer sank a jumper from the free-throw line to put UAB ahead 85-83 with 46 seconds left. After a timeout, Utah Valley was forced into a contested 3-pointer at the shot-clock buzzer that did not hit the rim. Jordan Walker was fouled and made two free throws for a four-point lead.

After Utah Valley made a 3-pointer with 3.2 seconds left, Walker sank a free throw before missing the second with 0.8 left. The Wolverines’ full-court heave at the buzzer went over the backboard.

“We fell a little bit short tonight,” Madsen said. “But the fight, the energy and the enthusiasm was incredible.”

Walker finished with 17 points on 5-of-23 shooting for UAB.

UAB scored the opening eight points of the game, with six from Brewer, and led until Utah Valley took its first lead, 62-61, with 8:13 remaining in regulation following a 10-2 run.

Utah Valley guard Trey Woodbury made two free throws with 1:52 left in regulation and he sank a floater in the lane to tie it at 74-all at 33.9. Walker had two chances to break the tie, but he was short on a jumper and his runner bounced off to send it to overtime.

Woodbury and Justin Harmon each scored 16 points for Utah Valley (28-9). Woodbury also had 11 rebounds and six assists. Aziz Bandaogo had 14 points and six rebounds and Tim Fuller, averaging 6.6 points per game, added 14 points and eight boards.