COLLEGE PARK, Md. (AP) -- As the final seconds of regulation ticked off the clock, the sellout crowd was poised to storm the court to celebrate an upset victory in Maryland's final regular season game in the Atlantic Coast Conference.
No. 5 Virginia forced overtime, forcing the fans back to their seats to see if the Terrapins could rebound from the letdown to pull off an upset against the best team in the league.
And that is precisely what happened.
Maryland closed out its 61st and final ACC regular season in stunning fashion, outlasting the Cavaliers 75-69 in overtime Sunday to end Virginia's 13-game winning streak.
''Today wasn't just an ordinary game. It was a lot of things,'' Terrapins coach Mark Turgeon said. ''We always play for Maryland, but today we played for former players, former coaches, all our fans.''
After blowing a seemingly secure lead in the closing seconds of regulation, the Terps (17-14, 9-9 ACC) never trailed in the extra session in front of an emotional crowd of 17,950 at the school's final home basketball game in a conference it joined as a charter member in 1953.
When the final buzzer sounded, thousands of fans raced onto the court to celebrate another unforgettable ACC memory at the expense of one of its biggest rivals.
Anthony Gill scored 15 points and London Perrantes had 14 for Virginia (25-6, 16-2), which had already clinched the regular season title and was vying to set an ACC record for most league wins during the regular season.
''Not that we felt we're invincible, but now we know we aren't,'' coach Tony Bennett said. ''So now we address it, and now we get after it.''
What hurt the most it that Maryland shot 48 percent and scored 32 points in the paint against the nation's top-ranked defense.
''I was surprised how our defense didn't execute like we should have down the stretch,'' Gill said. ''We are a defensive team, but we made it too easy for them. They're a good team, but we just slipped up.''
Seth Allen scored five of his 20 points in overtime and Dez Wells finished with 18 for the Terrapins, who will play in the Big Ten next season. Maryland had lost six straight to Virginia, including a 61-53 decision in February that was part of the Cavaliers' school-record winning streak against ACC competition.
This game, however, was unlike any that preceded it.
''The crowd was lively and that's what our guys got to understand, that you're getting teams' best shots,'' Bennett said. ''I don't know if all that mattered. It was just a team that outplayed us. The crowd was great for them, the atmosphere was great. But we did get it to overtime and they answered the bell.''
The end of regulation was a horror show for Maryland.
After Jake Layman made two free throws with 4.1 seconds left to put the Terrapins ahead 64-61, Maryland quickly fouled. Malcolm Brogdon made the first free throw and intentionally missed the second before the Terrapins swatted the ball out of bounds with 1.7 seconds to go.
Gill caught the inbounds pass in the lane and dropped in an uncontested jumper to force overtime.
''Our guys were down. I was down,'' Turgeon said. ''I said, 'Let's make this the best five minutes of the year.' They didn't believe me the first time I said it. But I said it 15 times during the timeout.''
Overtime began with Allen making two straight layups for a 68-64 lead. The guard then blocked a shot before adding a free throw.
The Cavaliers used a layup by Gill to close to 71-69 with 1:13 left, but they would not score again. Despite the loss, Virginia will head into the ACC tournament as a top seed for only the second time.
''I feel like we just need to get back in practice and just get back to what we know - and that's defense and not letting people penetrate,'' Gill said.
Maryland opened the second half with an 11-2 run, turning a one-point deficit into a 45-37 lead.
After Wells made two free throws, Perrantes answered with a foul-line jumper. Wells then made a basket and added two foul shots before Allen popped a 3-pointer and Shaquille Cleare added a layup.
The teams combined for only two field goals over the next 5 minutes, but Virginia made five free throws during that span to close to 47-44 with 11:34 left.
Minutes later, Joe Harris hit a 3-pointer to end a 6-0 spree that put the Cavaliers in front 52-51 with 8:30 to play. Maryland went ahead 62-58 with 2:39 remaining but could not make the lead stand up.
Perrantes scored 12 first-half points on four 3-pointers, including one in the closing seconds that put the Cavaliers ahead 35-34.
As an expression of gratitude to the lone senior on the squad, Turgeon started seldom-used forward John Auslander, who missed his only shot before being replaced with just under 4 minutes elapsed.