COLLEGE PARK, Md. (AP) — Terrell Stoglin scored 21 of his 28 points in the second half, and Maryland never trailed in a 73-69 Atlantic Coast Conference victory over slumping Virginia Tech on Saturday.

Sean Mosley had 15 points for the Terrapins (13-7, 3-3), who snapped a three-game skid. Maryland let a 15-point cushion dwindle to two with five seconds left, but Stoglin made two foul shots with 3.6 seconds remaining to secure the win.

It was the sixth loss in seven games for the Hokies (12-9, 1-5), who fell into a last-place tie with Georgia Tech. Erick Green led Virginia Tech with 18 points, and Dorenzo Hudson and Victor Davila each scored 14.

The Hokies are 10-28 all-time against the Terrapins, including 4-17 on the road.

Maryland led 36-21 early in the second half before Hudson drilled two straight 3-pointers to ignite a 13-4 spree that got Virginia Tech to 40-34.