WEST LAFAYETTE, Ind. -- Carsen Edwards scored 20 points and Aaron Wheeler had a season-high 15 on Thursday as Purdue held off Maryland 62-60 Thursday.
The Boilermakers (6-3, 1-1 Big Ten) snapped a two-game losing streak and avoided going 0-2 in conference play for the first time since 2013-14.
Anthony Cowan Jr. finished with 18 points and six assists for the Terrapins (7-2, 1-1). Bruno Fernando had nine points and 13 rebounds while Darryl Morsell scored 12 points.
The Terrapins had chances to seize control on the road and even had a shot to win it at the buzzer when Cowan attempted a 3-pointer right in front of the Maryland bench. But Nojel Eastern blocked the shot to seal the victory.
Purdue, playing its third straight ranked opponent on the schedule, finally took advantage of Edwards' decisive closing flurry to pull ahead after trailing for most of the first 33 minutes.
Neither team could build a lead of more than three until Edwards hit the last of his three 3s to give Purdue a 55-54 edge. He then dumped the ball off to Wheeler for a layup and fed the wide-open Haarms for a dunk that made it 59-54 with 5:18 left.
Cowan made two free throws to get Maryland to 60-59 with 7.2 seconds left.
Maryland will try to rebound against one of last year's Final Four teams, Loyola Chicago, in Baltimore on Saturday.
The Associated Press contributed to this report.
-Terps-