BUFFALO, N.Y. -- Drew Stafford scored the winning goal in the third period, and Ryan Miller made 34 saves in the Buffalo Sabres' 4-2 victory over the Boston Bruins on Thursday night.
Marcus Foligno and Brian Flynn both had a goal and an assist, and Tyler Myers also scored for Buffalo, which has won consecutive games for the first time since Nov. 15.
Brad Marchand scored both Bruins goals, and Chad Johnson allowed four goals on 23 shots.
Stafford's first goal in 18 games was of highlight-reel quality. He raced down the right side of the Boston zone and went around the net to score. It was just his third goal of the season.
There was one goal and 13 shots combined in the first period.
Boston's Milan Lucic tricked Mike Weber into dropping his gloves, and the Bruins earned a late first-period power play, but it was the Sabres who took advantage.
Flynn stripped the puck from Johnny Boychuk in the neutral zone and used his backhand to score on the ensuing breakaway. It was Buffalo's first short
handed goal of the season, and Flynn's first goal since Oct. 26.
The Bruins tied it 1-1 with a short-handed goal of their own when Marchand beat Miller between the legs on a 2-on-1 break 1:50 into the second period.
Marchand added another goal less than two minutes later when his one-timed shot knuckled over Miller's right shoulder.
The Sabres forged another tie with 2:49 left in the second period. Jamie McBain's errant wrist shot struck Foligno in the chest, and the forward tapped it in for his second goal in two games.
Myers put Buffalo ahead 4-2 when he sent a high wrist shot past Johnson with 4:22 left in the game.
Buffalo's penalty killers were perfect for the sixth straight game, a streak that includes 14 power plays against.
Buffalo lost leading scorer Cody Hodgson to an upper body injury late in the first period. He blocked Torrey Krug's shot with his wrist and didn't return.
NOTES: The Sabres acquired LW Linus Omark from Edmonton for a conditional sixth-round pick in the 2014 NHL draft. ... Bruins LW Daniel Paille missed the game as he continues to recover from a concussion. ... The Sabres scratched LW John Scott and D Chad Ruhwedel.