Kat Fogarty hit a go-ahead layup with 24 seconds left in the third quarter, sparking a 6-0 run and Carlie Pogue went 5-for-6 at the free-throw line in the final 52 seconds as top seed New Hampshire held off Stony Brook, 58-49, in the America East women’s basketball tournament quarterfinals Saturday in Portland, Maine.

Elizabeth Manner had 14 points, Davion Wingate 13 and Kori Bayne-Walker had 10 points and five assists for the Seawolves (12-18).

Pogue had a game-high 23 points, plus six rebounds, for the Wildcats (26-4). Fogarty had 13 points and Brittni Lai had 15 points for UNH.

“Credit to New Hampshire . . . they’re the No. 1 team in the league,” SBU coach Caroline McCombs said. “Their go-to players really stepped up and were efficient. I feel that our team played hard possession by possession and gave us an opportunity to win the ballgame, but New Hampshire is the No. 1 team for a reason and they were able to close it out at the end.”

There were six ties and 11 lead changes in the game.

advertisement | advertise on newsday

After the 6-0 run gave UNH a 44-38 lead with 8:43 to go, Stony Brook got back to within four points three times, the final time at 49-45 with 2:15 left on a three-pointer by Christa Scognamiglio.

Lai answered with a layup with 1:57 to go and the Wildcats closed it out by hitting 7-for-10 at the line down the stretch.