MONTREAL -- Jamie McGinn and Johan Larsson scored in the third period as the Buffalo Sabres posted a 4-2 comeback victory over the slumping Montreal Canadiens on Wednesday night.

Marcus Foligno and Brian Gionta, into an empty net, also scored for Buffalo (21-26-4), which played its first game since the all-star break. The Sabres, last in the Atlantic Division, are 6-4-0 in their last 10 games.

Dale Weise and Alex Galchenyuk scored for Montreal (24-2-44), which has lost four in a row and us 1-8-1 in its last 10. The Canadiens opened the season on a 19-4-3 tear but are 5-20-1 since then.

Montreal outshot the Sabres 35-31.

The Canadiens were coming off a 4-2 loss Tuesday night in Philadelphia, so fatigue may have been a factor in surrendering a rare third-period lead.

Montreal Canadiens' Nathan Beaulieu and Buffalo Sabres' Jack Eichel meet face to face during second period NHL hockey action Wednesday, February 3, 2016 in Montreal. THE CANADIAN PRESS/Paul Chiasson

They had the early chances and didn't score, but Buffalo got one on its first shot as Zemgus Girgensons stole a puck from Jeff Petry and fed it in front to a wide open Foligno for his fourth of the season at 5:10.

Weise tied it on a power play 3:19 into the second when he was at the edge of the crease to take a feed from Max Pacioretty and tap in his 12th of the season.

Tomas Plekanec won a faceoff and Galchenyuk wove his way in from the boards to beat Robin Lehner with a backhand shot at 11:04.

Montreal Canadiens' Dale Weise scores past Buffalo Sabres goalie Robin Lehner as Sabres defenseman Josh Gorges looks on during second period NHL hockey action Wednesday, February 3, 2016 in Montreal. THE CANADIAN PRESS/Paul Chiasson

McGinn tied it 2-2 on a power play 7:34 into the third period when he was at the edge of the crease to tip in a diagonal feed from Rasmus Ristolainen.

Larsson, with only his second goal of the season, got between two defenceman to tip a Jake McCabe feed past Mike Condon at 11:46.

Notes -- Normally, the first home game of February sees the Canadiens award a player of the month honour for January. But three players tied for top spot -- Lars Eller, Brendan Gallagher and Max Pacioretty -- and tie-breaking system couldn't settle it, so their points will carry over to next month. That they went 3-7-1 in January meant fewer than usual stars were awarded. . . Buffalo had San Reinhart, Josh Gorges and Nicolas Deslauriers back from injuries.