COLLEGE PARK, Maryland (Ticker) -- Virginia ended nearly a decade's worth of frustration at Maryland.
Devin Smith keyed a stunning turnaround in the second half as the Cavaliers rallied from a 12-point deficit to upset the eighth-ranked Terrapins, 86-78, in an Atlantic Coast Conference contest.
Virginia (13-7, 4-4 ACC) lost its last nine games at Cole Field House, but found the Comcast Center more hospitable in its first visit to Maryland's new facility.
"They (Cavaliers) played with a lot of courage," Virginia coach Pete Gillen said. "They believed they could win. We haven't played well on the road. It was a great win, a total team effort."
Smith, who reached double figures in only one of his previous seven games, scored 14 of his 17 points in the second half as the Cavaliers erased a 65-53 deficit with a 16-0 run that left the crowd in stunned silence.
"I thought Virginia was better prepared tonight in terms of their effort and energy," Maryland coach Gary Williams said. "There is no reason to be tired - we looked like it. But Virginia had a lot to do with that. They played with a lot of emotion and passion tonight."
Playing without point guard Keith Jenifer, who was suspended from the team earlier in the week, Virginia recorded its biggest victory of the season. The Cavaliers climbed back to .500 in the ACC and won on the road for just the second time (2-6).
Virginia likely needs to finish at .500 or better in the ACC to have a chance at an at-large berth into the NCAA Tournament.
Smith make 5-of-7 3-pointers, including two straight that pulled Virginia within 69-67 with 6:51 to go. Jermaine Harper followed with a 3-pointer that put the Cavaliers ahead to stay. After Elton Brown's layup, Harper drilled another 3-pointer to make it 75-69 with 3:44 remaining.
"We beat an excellent basketball team in a tough place to play," Gillen said. "They are a great team, the fans are great. I'm most proud of the fact that we had a lead, and then Maryland up by nine or 10 (actually 12), and the kids didn't wilt."
The loss snapped a 14-game home conference winning streak for Maryland (14-5, 6-2), which suffered its last ACC home loss against Florida State on February 14, 2001. The Terrapins dropped into a first-place tie with Wake Forest, which defeated North Carolina State earlier Thursday.
Drew Nicholas scored 20 points for Maryland and became the 38th player in school history to surpass 1,000 career points. He also handed out six assists.
"In the second half, we came out and got the ball inside, and then we gave up a couple wide-open looks from the 3-point line, which they made," Williams said. "We couldn't score when we did get the ball inside after that. They were able to hold us to one shot on the offensive end of the court."
Freshman Derrick Byars' layup just before the buzzer capped a frantic first half and gave the Cavaliers a 47-45 lead at the intermission.
But Maryland picked up its defense early in the second half and appeared to take control, holding Virginia to just four points in the first seven minutes. A 3-pointer by Steve Blake and layup by Tahj Holden made it 65-53 with 12:46 left.
"We had poise, this is a tough venue," Gillen said. "As they get the lead, the crowd gets louder and you can get out of sync. We just kept throwing guys in and out. It was just our night."
Freshman Travis Garrison's jumper gave Maryland a 69-59 lead with 9:06 left. The Terrapins did not score again until freshman Nik Caner-Medley made a pair of foul shots with 3:02 remaining.
"It's disappointing that we had the kind of defensive effort to give up 47 points (in the first half) when we had been playing great defense," Williams said. "We got caught tonight not playing great defense. Virginia shot the ball very well and that combination really hurt us."
Virginia shot 49 percent (28-of-57) while holding Maryland to just under 42 percent (28-of-67). In the second half, however, the Terrapins shot just 36 percent (12-of-33).
Travis Watson scored 15 points and Majestic Mapp added 11 off the bench for the Cavaliers.
Ryan Randle and Blake contributed 17 and 12, respectively, for the Terrapins. Blake also surpassed the 1,000-point mark late in the second half.