With Texas at this time of year, the ghosts of NCAA Tournament losses are never, ever far away.

There are too many recent disappointments, too many early exits to ever feel comfortable. So even when Texas hit its first six shots, or got unexpected offense from its guards or built a 14-point lead, the foreshadowing refused to go away.

Then center Cameron Ridley grabbed a loose ball off the court, banked it off the glass left-handed, and Texas had an 87-85 win over Arizona State in a game with 10 lead changes. The Texas players and bench erupted in a celebration of an opening NCAA win that might have been mixed with relief.

Texas (24-10) advances to Saturday’s round of 32 and faces Midwest second-seed Michigan (26-8), which turned back 15th seed Wofford, 57-40, in the other evening game at the Bradley Center. The Wolverines may not be the team that went to the NCAA title game last year but still have Nik Stauskas and Glen Robinson III as key returnees.

Texas hasn’t advanced to the Sweet Sixteen since the 2007-08 team reached the regional finals.

Since then, Texas had gone out in the first weekend of the NCAA Tournament four straight times from 2009-12 along with an opening loss in the College Basketball Invitational last season.

Now things may have changed.

Arizona State, with a late surge, had tied the game on two free throws by Jonathan Gilling with 16.2 seconds remaining. With time running down, Texas junior Jonathan Holmes rushed a 3-pointer than caromed off the backboard. The 6-9, 290-pound Ridley won the battle for the loose ball. He finished with 17 points and 12 rebounds in his individual battle with Arizona State’s 7-2 Jordan Bachynski (25 points, seven rebounds).

Texas also got big efforts from guard DeMarcus Holland, who hit all six shots en route to 14 points, and reserve Martez Walker, who added 16 points.

Arizona State (21-12), coached by former Barnes assistant Herb Sendek, dropped its fourth straight game.

Before the game, Barnes expressed faith in this team despite five losses in their eight games entering the tournament.

“Am I confident? Absolutely,” Barnes said. “I think we’re coming out of a league that has prepared us. It's like any basketball game, you got to win it. You're not going to talk your way into it.