BUFFALO, N.Y. (AP) — Patrice Bergeron, David Pastrnak and Charlie Coyle each had a goal and an assist to lead the Boston Bruins over the Buffalo Sabres 5-1 on Wednesday night.

Mike Reilly and Taylor Hall also scored, Nick Foligno had two assists and rookie Jeremy Swayman made 24 saves as Boston bounced back from a 4-0 loss to Calgary on Sunday for its fourth win in five games and third straight on the road.

Boston’s scoring surge helped Swayman enjoy his 23rd birthday.

“I had the best seat in the house all night,” Swayman said. “It was fun to watch. It was a good camaraderie game. All the guys were super happy in the locker room, and I’m sure on the bench.”

The Bruins chased Sabres goalie Aaron Dell with four first-period goals on the 22 shots he faced. Dustin Tokarski stopped 24 of 25 shots.

Kyle Okposo scored for the Sabres, who lost their fourth in a row and are 2-8-1 following a 5-1-1 start.

The Bruins scored four times in 5:41 during the opening period and had a 22-8 edge in shots on goal.

That continued a trend for the Sabres, who gave up three goals in a 3:17 span during Monday’s 7-4 loss to Columbus and three goals in 1:37 of a 5-0 loss to Calgary last Thursday.

“This little stretch is exposing us to things that we need to target and become better at,” coach Don Granato said. “We will become better at it going through it.”

Bergeron and Coyle scored on wrist shots 51 seconds apart to give Boston a 2-1 lead.

Pastrnak drew a hooking penalty on Buffalo’s Rasmus Dahlin, and Charlie McAvoy fed Pastrnak for a power-play goal less than three minutes after Coyle put the Bruins ahead.

Reilly made it 4-1 with a minute left in the first when he scored on a rebound that rolled between the dropped sticks of Buffalo’s Colin Miller and Vinnie Hinostroza.

“We really kind of controlled the play and got some breaks around the front of the net,” Bruins coach Bruce Cassidy said. “But I think you earn your breaks, too, by putting the puck to the front of the net and outworking people in the dirty area.”

Hall got the fifth goal on a power play late in the third period after Buffalo’s Zemgus Girgensons received a five-minute game-misconduct penalty for checking McAvoy from behind and forcing him headfirst into the boards.

McAvoy needed stitches to close a gash above his eye. Cassidy said the Bruins expect McAvoy to remain in the lineup, and he didn’t think it was a dirty play by Girgensons.

“I know that if it was our player hitting a guy like that, I would say, boy, he was in a tough spot,” Cassidy said. “He’s just trying to finish his check. But at the end of the day, I know they are trying to get those hits out. But I can’t fault Girgensons. I don’t think there was any malicious intent, personally.”

Buffalo briefly led after Okposo used Bergeron as a screen to beat Swayman with a wrist shot midway through the period. Bergeron tied the score with his seventh of the season 2:33 later.

Swayman made 14 saves in the second, including one on a penalty shot by John Hayden.

TRAINER’S ROOM

Bruins: Changed plans in the crease after scheduled starter Linus Ullmark “tweaked something” during Wednesday’s morning skate, Cassidy said. Swayman will start Boston’s next game, with Ullmark expected to return Sunday. “I don’t think it’s anything major,” Cassidy added. … F Trent Frederic (upper body) skated before sitting out his sixth straight game, but Cassidy said Frederic could return “later in the week.”

Sabres: F Casey Mittelstadt skated wearing a non-contact jersey, his first practice since getting hurt in the Oct. 14 season opener.

UP NEXT

Bruins: Host the New York Rangers on Friday in the NHL’s Thanksgiving Showdown.

Sabres: Host the Montreal Canadiens on Friday night.

___

More AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP_Sports