Bruins goaltender Jeremy Swayman knocks the puck away from New York’s Julien Gauthier during the Rangers’ 5-2 win on Friday in Boston. Winslow Townson/Associated Press

BOSTON — Artemi Panarin scored the first of New York’s three third-period goals with 8:25 left and the Rangers beat the Boston Bruins 5-2 on Friday afternoon, giving Gerard Gallant the best start in his first 20 games as coach in team history.

The Rangers have 31 points in Gallant’s first 20 games. Phil Esposito held the previous mark with 30 points in 1986-87.

“I would say it’s a good feeling,” Ryan Strome said of New York’s 13-4-3 start. “But I also think that it’s a group that’s not satisfied. We’re starting to feel like a winning team. Two-two in Boston in the past, we’re young, we’re a little fragile, and I don’t know what could happen.”

Strome, Dryden Hunt, Alexis Lafreniere and Jacob Trouba also scored for the Rangers, who won their third straight game and seventh of eight.

Igor Shesterkin made 29 saves and Julien Gauthier set up two goals. Trouba’s was an empty-netter.

Craig Smith and Patrice Bergeron each had a goal for Boston, which has lost consecutive home games after opening 6-1 at TD Garden. Jeremy Swayman stopped 31 shots.

“They like to funnel pucks from all angles,” Swayman said of giving up some rebounds. “They get good traffic in front. You’ve got to do whatever you can to prevent those rebounds.”

Panarin batted home a pass from Gauthier from the edge of the crease for the Rangers’ first lead of the game. Lafreniere scored with 3:38 to play on Gauthier’s wing-to-wing pass during a 2-on-1 break.

The Bruins had taken a 2-1 lead in the second period when Bergeron, just outside the crease, redirected Matt Grzelcyk’s perfectly centered touch pass from the left circle.

“It’s early in the year,” Boston forward Brad Marchand said. “We have a lot of new faces in our group. It’s a different year for us, a lot different than we’ve had in a long time where we have to build something.”

New York tied it when Hunt scored off the rebound of Ryan Lindgren’s shot from the point.

“I think for me it’s just sticking to my game and keep doing what I’m doing,” Hunt said of playing on a line with Panarin and Strome. “Obviously, it’s two special players.”

Smith pushed Boston in front 14:46 into the game when he stole an attempted clearing pass from defenseman Trouba and slipped a wrister past Shesterkin.

Shesterkin kept it a one-goal deficit with a nice left-pad stop on Taylor Hall’s clean breakaway with about 90 seconds left in the period before Strome tied it with 6 seconds remaining. Strome, positioned in the slot, collected Panarin’s pass from the left circle and slipped a shot past Swayman’s glove.

“I think it’s everyone buying in,” Strome said. “I think everyone realizes not every shift is going to be an offensive shift. … I think we’ve done a good job of sticking to our system and trusting each other.”

Boston dominated play in the opening period, outshooting the Rangers, 17-5.

WHAT A STOP

Seconds after the Rangers tied it at 2, Swayman dove across the crease to make a fully outstretched stick save on Mika Zibanejad, who had a wide-open net.

“I was just trying to be in the right place at the right time,” Swayman said. “It was definitely a lucky save, but I’m happy with that.”

NICE WORK

Boston defenseman Charlie McAvoy carried on a Bruins tradition on Thanksgiving morning, donating and delivering hundreds of pies to local organizations. He also purchased 300 winter hats to be distributed among shelters.

NO GOAL

Rangers forward Chris Kreider had a goal overturned on video review. He elevated the puck onto the blade of his stick and reach around from behind the net but flipped it off the crossbar, with it traveling behind Swayman’s back across the crease.

NOTES: McAvoy was in the lineup after leaving the last game Wednesday in Buffalo early to get some stitches above his eye. He was checked by Zemgus Girgensons and went face-first into the boards. … The Rangers didn’t get their first shot on goal until nearly halfway into the opening period despite having a power play. … Boston defenseman Brandon Carlo turned 26 on Friday.


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.