BOSTON — Trailing by a goal in the latter half of the third period, Providence scored twice in 2:19 to shock Boston University and win the NCAA Frozen Four 4-3 on Saturday.

It is the first national hockey title for the Friars (26-13-2), who got 49 saves from goalie Jon Gillies and goals from right winger Brandon Tanev, center Mark Jankowski and defensemen Kyle McKenzie and Anthony Florentino.

Gillies, a South Portland native, was named the tournament’s most outstanding player.

Boston University got a goal and an assist from right winger Ahti Oksanen, and goals from center Cason Hohmann and right winger Danny O’Regan, but the Terriers (28-8-5) could not tie the game late despite pulling goalie Matt O’Connor and buzzing around the Providence net.

O’Connor finished with 39 saves, but he had a costly misplay on a puck that changed the course of the game.

With less than nine minutes left and Boston University up 3-2, the Friars tied the score on a crazy play. McKenzie flipped the puck on net from the red line. O’Connor caught the puck, then turned to play it into the corner, only to have the puck fall out of his glove and land between his skates. Instinctively, he dropped to cover the puck with his pads but inadvertently knocked it backward over the goal line, and the score was tied 3-3.

Just over two minutes later, Tanev scored the eventual game-winner. After a faceoff win in the Boston University zone, he skated across the front of the net and fired a wrist shot past O’Connor.

The Friars survived the game’s first penalty kill, then got the first goal near the midway point of the opening period. Center Noel Acciari’s wrist shot with O’Connor down on the ice hit the right goal post, but the rebound sailed toward the blue line, where Florentino found it. He send a hard shot through a crowd in front of the Terriers’ net, and the puck landed in the upper-left corner.

It took the Terriers a little more than three minutes to answer. They tied the game when Gillies appeared to have the left side of the net covered, only to have Oksanen slip a shot between the goalie’s pad and the post.

Just four seconds later, the Terriers took their first lead. On the ensuing faceoff, Eichel won the draw and fed the puck to O’Regan, who was already streaking toward the Providence offensive zone. O’Regan took the pass and got a rising shot off, beating Gillies on the glove side.

Boston University outshot Providence 18-6 in the opening 20 minutes. But the Friars used an early second-period power play to knot the score when Jankowski blasted a puck home after a cross-ice pass from right winger Trevor Mingoia.

Boston University went back up, 3-2, when Oksanen’s wide angle shot hit traffic and didn’t make it to the net, instead caroming right to Hohmann at the top of the crease. He slid to the right and slipped a shot beyond the reach of Gillies.

The Providence goalie’s 37 saves in the first two periods were a Frozen Four record. It was the third time this season that the Terriers recorded 50-plus shots in a game.

NOTES: In addition to naming Boston University freshman C Jack Eichel the winner of the Hobey Baker Award on Friday, college hockey’s other individual honors were handed out. The Mike Richter Award, given annually to the game’s top goalie, went to North Dakota junior Zane McIntyre. Wisconsin senior F Brittany Ammerman won the Hockey Humanitarian Award, which is given annually to a player who has made significant contributions to his or her community. … This was the second NCAA Tournament meeting between Providence and Boston University. They played in the quarterfinals in 1978 at the Friars’ home rink, with the Terriers prevailing 5-3. Boston University also upset Wisconsin and Boston College to win the NCAA title that year. … The ceremonial pregame puck drop was performed by a trio of retired Boston-area college hockey coaching legends. Former Boston University coach Jack Parker, former Boston College coach Len Ceglarski and former Harvard coach Bill Cleary received a standing ovation when they were introduced.