BOSTON — David Pastrnak scored three goals and set up two, including one that helped Jake DeBrusk set a career high with five points as the Boston Bruins rolled to a 6-3 victory over the New York Rangers on Wednesday night.

Coming off a 3-1 road trip but disappointed after blowing a two-goal lead Monday night against the NHL-best Tampa Bay Lightning, the Bruins broke it open with four goals in the third period for their 12th straight victory at home. It’s their longest streak since winning 14 straight during the 2008-09 season.

Pastrnak completed his fourth career hat trick and third this season with a power-play goal to make it 4-2 with 7:08 to play, triggering a flow of hats littering the ice. He became the first Bruins player with a trio of hat tricks in one season since Hall of Famer Cam Neely in 1993-94.

The Bruins had gone 1-7-2 in their last 10 games against the Rangers, including losing the first two meetings this season. Backup goalie Jaroslav Halak made 20 saves. Charlie McAvoy had a goal and Patrice Bergeron got the other for Boston, tipping in a Pastrnak shot.

Mika Zibanejad had two goals and Ryan Strome also scored for the Rangers, who have lost six of seven as the season nears a close and their rebuilding project continues after dealing away eight players off the roster at the last two trade deadlines.

Henrik Lundqvist stopped 26 shots, losing for just the second time in his last nine games against the Bruins. He made a highlight-reel save midway through the first period on Chris Wagner when he lunged across the crease for a stick save.

Pastrnak’s second goal and team-leading 35th of the season broke a 1-all tie at 9:15 of the second. It came off a nice set up from David Krejci, who cut around Rangers defenseman Tony DeAngelo and shifted from forehand to backhand before slipping a cross-ice pass to the winger, who sent a one-timer into the net from the right circle.

Pastrnak then made a beautiful cross-ice pass to DeBrusk, who gave the Bruins a two-goal lead 3:19 into the third.

With the Rangers short-handed following a too-many-men-on-the-ice penalty, Pastrnak one-timed a feed from Brad Marchand, moving Boston ahead 2:48 into the game.

The Rangers tied it with a power-play goal when Strome sent Zibanejad in alone and he reached back to slip a forehand behind Halak as he was skating across the edge of the crease at 16:29 of the first.

NOTES: The Bruins announced they’ve reached a 10-year agreement with their AHL affiliate in Providence, Rhode Island. They’ve been together since 1992. … Boston defenseman Torey Krug returned after missing six games while he was in concussion protocol. … Rangers defenseman Brady Skjei took a puck off the side of the head and left the ice in the third.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.