Johnny Boychuk and Daniel Paille scored 47 seconds apart to break open a tie game in the third period, and the Boston Bruins ended a three-game losing streak with a 5-3 win over the Ottawa Senators on Tuesday night.

Chris Kelly had a goal and an assist, and Zdeno Chara had two assists for the defending Stanley Cup champions, who finished the first month of the season with the worst record in the Eastern Conference (3-7).

The Bruins also snapped the Senators' six-game winning streak.

Boston outshot Ottawa 16-7 in the second period and took a 3-2 lead on goals by Patrice Bergeron and Chris Kelly, then put in two more after Ottawa's Jared Cowen tied it at 3-all on his first NHL goal with 14:56 left.

Boychuk gave Boston a 4-3 lead with a slap shot from the point, and less than a minute later Paille scored on a breakaway to put the Bruins up by two.

That was a big enough cushion for Tim Thomas (4-4), who finished with 23 saves.

Craig Anderson (6-3) stopped 36 shots for Ottawa, which hadn't lost since Oct. 18.

Nick Foligno finished with a goal and two assists, and Stephane DaCosta had a goal and an assist for Ottawa.

After getting outplayed in the second, the Senators grinded out the early part of the third and tied it when Folingo dropped a pass back to the point to Cowen, who fired a slap shot past a screen of players and Thomas' right pad.

But Boychuk tied it on a blast from the point with 13:19 to go, and Paille took a pass from Shawn Thornton for a breakaway and scored on Anderson with 12:42 left.

Folingo gave Ottawa a 1-0 lead in the first period when he grabbed a loose puck and lofted a backhander off Thomas' blocker. The puck dropped behind him, and Bobby Butler crashed the net for Ottawa, occupying Thomas and the Bruins as the puck trickled across the goal line.

Milan Lucic tied it with a power-play goal with 12:48 left in the first, lifting a rebound over Anderson, but Ottawa struck again barely a minute later.

Folingo pounced on a loose puck and slid a backward pass between his legs to Stephane DaCosta, who poked a shot past Thomas as the details of Lucic's goal were being announced to the crowd.

NOTES: Ottawa hadn't lost since falling to 1-5 with a 7-2 loss to Philadelphia. ... Bergeron's goal in the second period extended his point streak to five games. ... Chara had his second multipoint game of the season. ... Bergeron tied it at 2-all early in the second on a wrist shot from the slot off a pass from Tyler Seguin during a 3-on-2 rush with Brad Marchand, who also got an assist. ... Shawn Thornton and Ottawa's Zenon Konopka squared off in a long fight just after the opening goal. Neither player made much contact despite throwing numerous haymakers.