DURHAM, N.H. — The University of New Hampshire overcame a six-point deficit with a game-ending 21-8 scoring run on Tuesday night, capping its season with a 60-53 America East men’s basketball victory over the University of Maine at Lundholm Gymnasium.

Coach Richard Barron’s Black Bears (5-26 overall, 3-13 AE) head to top-seeded Vermont for Saturday’s 7 p.m. America East quarterfinal game, which will be broadcast on ESPN+.

The Wildcats finished the season 5-24 (3-13 AE).

UMaine used a 10-2 surge to build a 45-36 lead on Ilija Stojiljkovic’s 3-pointer with 8:12 remaining. But the Wildcats responded with three 3-pointers by Jordan Reed, Nick Guadaramma and Mark Carbone over a span of 2:42 to make it 45-all with 5:03 to play.

New Hampshire extended that run to 15-0 and led 51-45 with 3:05 left.

Sergio El Darwich later cut the deficit to three points on a dunk with 1:18 remaining, but another Carbone 3-pointer restored a two-possession lead and New Hampshire held on.

Carbone led the Wildcats with 14 points off the bench, while Reed netted 13 points. UNH shot 55 percent in the second half (12-for-22) and wound up making 11 3-pointers in the contest.

Jayden Martinez posted 11 points while Guadarrama finished with nine points and six assists.

El Darwich paced UMaine with 12 points, five rebounds and two assists. Stojiljkovic tossed in 10 points and grabbed a game-high seven rebounds. Miks Antoms put up nine points, six rebounds and three assists, while Isaiah White scored eight points, made five steals and added four rebounds and two assists.

The Black Bears went 5-for-20 from the 3-point arc and finished at 40 percent (21-for-53) overall. UNH outscored UMaine 13-6 from the foul line, where the Black Bears went 6-for-12.