Ariana Moorer scored 17 points, and Virginia used a late surge to stun No. 12 Maryland 60-57 Sunday.

The Terrapins led 55-52 with 3 minutes left before Moorer scored on a drive, Simone Egwu added a layup and Franklin hit a jumper in the lane to make it 58-55.

After Anjale Barrett scored for Maryland, Whitny Edwards made two foul shots for the Cavaliers with 11.2 seconds left. Barrett then launched a 3-point attempt under pressure that bounced off the backboard an instant before the final buzzer sounded.

Edwards scored 13 points and Ataira Franklin had 11 for Virginia (14-13, 4-8 Atlantic Coast Conference).

Alyssa Thomas scored 14 for Maryland (20-5, 6-4). It was the second straight loss for the Terrapins, who shot 39 percent and committed 17 turnovers.

Maryland donned pink uniforms, and coach Brenda Frese wore a pink blouse, in honor of breast cancer research.

The Terrapins won the first game between the teams last month in overtime, and the rematch was similarly close.

A three-point play by Alicia DeVaughn put Maryland up 28-27 with 16:17 left, its first lead since 1-0. The Terps expanded the margin to six points, but Virginia promptly went on an 11-4 run to move back in front.

Neither team led by more than four points the rest of the way.

The Terrapins had more turnovers (nine) than baskets (eight) in falling behind 25-23 at halftime.

Maryland got off to a horrid start, missing nine of its first 10 shots and committing four turnovers. The Cavaliers also had trouble finding the basket, however, and led 8-3 with nine minutes elapsed.

After a 3-pointer by Edwards made it 17-7, Maryland's Diandra Tchatchouang connected twice from beyond the arc during a 16-6 spurt that tied it.