Brad Marchand scored with 47 seconds left in the third period to lift the Boston Bruins to a 3-2 win over the Toronto Maple Leafs on Saturday night.

Patrice Bergeron scored twice for Boston and Tuukka Rask finished with 26 saves as the Bruins extended Toronto’s losing streak to five straight.

Rask got some help when teammate Torey Krug was in the crease to stop a shot by Pierre-Alexandre Parenteau, who beat Rask to a loose puck and had the Boston goalie well out of position in the final few minutes. Krug stopped the puck as Rask scrambled to get back into position with the score still tied at 2-all.

Marchand broke the tie with a snap shot past Jonathan Bernier, who stopped 42 shots for the Maple Leafs. It was actually the second time in the period Marchand appeared to beat Bernier, but the first goal was waved off because Marchand was offside.

Leo Komarov and Shawn Matthias scored for Toronto, which was 0 for 5 on the power play. The Maple Leafs have been outscored 19-5 during their losing streak, including a 4-1 loss at home to Chicago on Friday night.

The Bruins never trailed, but also failed to hang on after taking leads of 1-0 and 2-1 on goals by Bergeron.

Marchand appeared to regain the lead for Boston when he tipped in a pass from Bergeron at 7:23 of the third, but Toronto coach Mike Babcock challenged and won. Officials reviewed replays for several minutes before ruling that Marchand crossed into the zone just before Bergeron and the scoreboard went back to 2-2.

Bergeron scored on a breakaway just 45 seconds into the game, then struck again in the opening minute of the second period to give the Bruins a 2-1 lead when he tipped in Zdeno Chara’s slap shot from the point 39 seconds into the period.

Komarov tied it at 1-all when he tapped in a rebound 4:31 into the first period. Nazem Kadri and Dion Phaneuf assisted on the goal, which came with 38 seconds remaining on a 4-on-4 as Marchand and Toronto’s Jake Gardiner sat in the penalty box for high-sticking each other.

Matthias tied it again with 2:44 left in the second period after Tyler Bozak stole the puck from Chara in the corner. Boston coach Claude Julien argued Bozak, who had the only assist, tripped up Chara with his stick.

(Copyright (c) 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox