CHARLOTTESVILLE, Va. -- Virginia did not lead for the final 38:56 of regulation, but the Cavaliers found a way to pull out a 61-58 overtime win over Maryland on Sunday night.
Virginia (21-10, 11-7 Atlantic Coast Conference) overcame a 17-point first half deficit to win its 17th consecutive home game. The Cavaliers also snapped a two game losing streak and picked up a much-needed win for its NCAA Tournament hopes.
Maryland (20-11, 8-10 ACC) lost for the fifth time in its past eight games.
Mike Tobey tipped in an Akil Mitchell miss to put Virginia ahead 60-58 with 1:47 to go in overtime. The teams traded misses before Maryland called timeout with 41.7 seconds left and possession of the ball.
Virginia's Joe Harris created a turnover, but Cavaliers point guard Jontel Evans missed a layup with 29 seconds left to give Maryland another shot.
However, Dez Wells lost the ball out of bounds, giving Virginia possession with 8.2 seconds left. Mitchell made one of two free throws, and Wells' 3-point attempt at the buzzer rimmed out.
Mitchell had 17 points and 10 rebounds to lead Virginia. Harris added 15 points, and Tobey came off the bench to score 13 points and grab six rebounds.
Nick Faust led Maryland with 15 points, but he scored only two points in the second half. Wells had 12 points and 12 rebounds, and Alex Len finished with 10 points.
In regulation, Wells hit a runner with 23.8 seconds left to put Maryland ahead 54-52. Virginia then tried to run a play but never got anything going, forcing Cavaliers coach Tony Bennett to call a timeout with just under seven seconds to go.
Evans then found Tobey near the basket, and Tobey converted a layup with 5.4 seconds to go to tie the game.
Maryland guard Pe'Shon Howard's runner on the other end was blocked by Justin Anderson at the buzzer to force the extra period.
Maryland led 32-19 at the half thanks to a 19-2 run.
After the surge, the Terrapins led 25-8 with 8:47 to play in the opening period. Maryland got it done with some hot shooting from beyond the arc, hitting four of its first seven shots from 3-point range.
Faust scored 13 first-half points as Maryland built its lead, connecting on all three attempts from 3-point distance.
The Terrapins held a 17-point advantage on three different occasions in the first half.
Maryland only shot 32.8 percent from the field for the game, while Virginia hit 36.8 percent.
NOTES: Maryland leads the all-time series 106-72, but Virginia has won the past four meetings. ... Maryland will be the seventh seed in the ACC tournament in Greensboro, N.C. The Terrapins will face Wake Forest on Thursday night. ... Virginia is the fourth seed in the ACC tournament, and it receives a bye into the quarterfinals on Friday. The Cavaliers will play the North Carolina State-Virginia Tech winner.