COLLEGE PARK, Md. -- Senior Olivia Wagner scored twice in No. 18 Maryland's come-from-behind 3-1 win against No. 7 Virginia on Thursday.

The victory lifts Maryland's overall record to 8-2-2 and puts the Terps at 4-0-1 in the ACC. With 13 points in the ACC, Maryland is No. 1 in the standings. The loss is the first for the Cavaliers since Aug. 17 and puts their season record to 9-2-1. Virginia is now 2-1-1 in conference action and is tied for third place in the standings with seven points.

"This was an unbelievable comeback by our kids tonight," Maryland head coach Jonathan Morgan said. "UVA is a great team with a lot of quality individuals. Our team never wavered at any point though. Our staff could tell at halftime the girls still believed and were committed to the task.

The Terrapins appeared to take a 1-0 lead in the 12th minute when freshman Ashley Spivey played a long ball over the top of the Cavalier back line, which allowed junior Hayley Brock to run onto it. A Virginia defender was step-for-step with Brock, but it was Brock who got to the ball first. Some contact between the two players gave Brock some space to get off a shot, which she deposited into the right side of the Virginia goal, but the referee waived off the goal and called Brock for a foul.

The game remained scoreless until the 41st minute when Virginia's Kaili Torres gave the Cavaliers a 1-0 lead. Torres finished a cross from Danielle Colaprico inside the 18-yard box.

The Cavaliers were able to hold onto the one-goal lead until the 74th minute when a seemingly harmless foul gave the Terps a free kick from nearly 40 yards out. Wagner stepped to the ball and played it into the box where a Virginia defender got to it, but she mistakenly flicked the ball on and past Cavalier keeper Danielle DeLisle to tie the game at a goal apiece.

Shots 15 9
Corner KIcks 5 1
Saves 2 3

Overtime seemed likely as the match wore on, but a handball called on Virginia's Caroline Miller gave Wagner another free kick opportunity in the 85th minute and this time there was no doubt about it. From 28 yards out, Wagner rocketed a right-footed shot around a wall of Virginia players and bent the ball into the upper left 90. That brilliant shot gave the Terps a 2-1 lead and proved to be the game-winner.

Even with just five minutes remaining, the match was far from done as the Cavaliers boast one of the nation's top scoring offenses and Virginia desperately pressured the Maryland goal. That pressure left the Cavs open to a counter attack and that's exactly how Maryland tacked on an insurance goal in the 87th minute.

Brock ran down a long ball played down the right side of the field. Knowing she didn't have an angle for a shot, she played the ball back to the top center of the 18 for senior Becky Kaplan. Kaplan couldn't get off a shot and instead of forcing a poor decision, she smartly moved the ball on to senior Danielle Hubka, who made a terrific run down the left alley. Hubka made one move around a defender, got off a solid strike that left DeLisle with no opportunity to make the save and gave the Terps a 3-1 advantage.

Maryland goalkeeper Rachelle Beanlands  finished the match with three saves, allowing just four Cavalier shots on the Maryland goal.