BOSTON -- Claude Giroux scored his second goal of the game during an overtime power play after the Philadelphia Flyers overcame a two-goal deficit in a 5-4 win against the Boston Bruins at TD Garden on Wednesday.
The Flyers (3-2-1) ended a six-game losing streak to the Bruins dating to April 23, 2013.
Philadelphia defenseman Mark Streit had three assists, and forward Jakub Voracek had two assists. Each assisted on Giroux's game-winning goal.
Flyers goaltender Steve Mason made 16 saves on 18 shots after entering in relief of injured starter Michal Neuvirth to begin the second period.
Coach Dave Hakstol said it was a character win.
"Probably more so than that - just the way the second period went, not a lot of things went right," Hakstol said. "We didn't have a very good period, so the guys went in the room, they regrouped, and they came out with a real good mentality. I think that's most important."
The Bruins (2-3-1) squandered a two-goal deficit in the third period for the second straight game; they pulled out the win against the Arizona Coyotes on Saturday.
"I thought the last couple of games I saw some optimistic things happening, and we needed to bring that tonight," Bruins coach Claude Julien said. "But right from the get-go, I didn't find that our feet were moving as well as we had the last couple of games. Yesterday, we had a great practice, guys had some good jump. And today, for some reason, we didn't seem to be skating the way we can and we certainly didn't battle the way we can. So hopefully, lesson learned for our hockey club."
Boston goaltender Tuukka Rask made 32 saves on 37 shots. Center David Krejci had two assists; he has a point in all six games and leads the NHL with 11.
The Bruins had won two in a row after starting the season with three consecutive home losses.
The Flyers started their comeback after Mason robbed David Pastrnak at 6:34 by getting his pads on a shot despite being out of position. Video review confirmed that the puck didn't cross the goal line.
"It was a big moment, but at the same time, those are things that I expect [from] myself; I think what the team expects from their goaltenders," Mason said. "Turns out that, in tonight's game, it kind of kick-started things, and that's a good thing."
Giroux trimmed the lead to 4-3 at 7:48 with a goal from in front of the Boston net, and Wayne Simmonds tied the score 4-4 with a shot from the left dot that beat Rask inside the far post at 10:34.
The Flyers started the game without forward Brayden Schenn, who was out with an upper-body injury, and they lost two more players to an upper-body injury during the game. Center Sean Couturier didn't return after a hit by Boston forward Zac Rinaldo at the end of the first period, and Neuvirth (10 saves) didn't return after the first. Neuvirth appeared to take a stick to the face on a goal by Patrice Bergeron.
Forward Pierre-Edouard Bellemare put the Flyers on the scoreboard first with a goal on his own rebound at 9:28 of the first period.
Boston forward Brett Connolly answered at 13:28, converting a pass from Bergeron, who moved into sole possession of 10th place on the Bruins' all-time list with 347 assists. It was Connolly's first goal with the Bruins.
Neuvirth's shutout streak ended at 145:33.
The Flyers took their second lead of the period on a goal by Sam Gagner at 15:04, but Bergeron scored on the power play at 17:24 to even the score.
The game was tied 2-2 at the conclusion of the first period when Rinaldo was assessed a five-minute major and a game misconduct for charging Couturier along the boards in the Philadelphia end.
The Flyers failed to put a shot on net during the ensuing power play, and the Bruins took the lead on a shorthanded goal. Center Chris Kelly scored for a 3-2 Boston lead 4:31 into the second period after a give-and-go with Loui Eriksson.
Forward Jimmy Hayes gave the Bruins a 4-2 lead at 8:49 of the second with a shot off the rush that beat Mason from the bottom of the left circle after a pass from Krejci.
But then Philadelphia rallied.
"Guys go down during the game. I think it's important that we stick together and find a way to get the win," Giroux said. "Like last game, we were down two goals and we almost did it against [the Dallas Stars on Tuesday], but tonight, we were able to get that extra goal."
Boston played without forward Matt Beleskey, who has one goal and one assist in five games, because of an upper-body injury.
The Bruins next play on the road against the New York Islanders on Friday. The Flyers host the New York Rangers on Saturday.