BOSTON -- Craig Anderson made 34 saves, and Kyle Turris scored two goals to help the Ottawa Senators defeat the Boston Bruins 3-2 at TD Garden on Tuesday.
Tom Pyatt also scored, and Mike Hoffman had two assists for Ottawa (40-24-8), which won for the first time in five games (1-2-2) and for the third time in three games against Boston this season.
The Senators lead the Bruins (38-29-6) by six points for second place in the Atlantic Division. They are three points behind the first-place Montreal Canadiens, who lost 2-1 in overtime to the Detroit Red Wings.
Turris scored his second goal of the game, 25th of the season, to put Ottawa ahead 3-2 at 4:04 of the third period.
WATCH: All Bruins vs. Senators highlights
"Anytime you can kind of stop a streak like that and get back in the win column, start going the other way, it's important because you let those go for too long and you start doubting things, and you've got to start cleaning up," Turris said. "So it's nice that we were able to kind of finish that off tonight."
David Krejci and Torey Krug each scored a power-play goal, and Tuukka Rask made 19 saves for the Bruins, who have lost three games in a row. The Bruins lead the Toronto Maple Leafs by one point for third place in the division; Toronto has two games in hand.
"The frustrating part was our lack of finish or ... I thought it was tremendous goaltending at their end," Boston coach Bruce Cassidy said. "It stole them a game. And certainly we lost some of our discipline early in the game, I think that frustrated us more than anything."
Pyatt scored on a tip-in at 4:09 of the first period for a 1-0 Ottawa lead, but Krejci tied it 1-1 with a one-timer from the blue line at 8:57.
Video: OTT@BOS: Pyatt deflects Ceci's shot past Rask
Turris scored a power-play goal at 1:34 of the second period to put the Senators ahead 2-1. His slap shot from the top of the left faceoff circle went off Bruins defenseman Brandon Carlo in front and got past Rask.
After an end-to-end rush, Krug scored 17 seconds into the third period to tie it 2-2.
Goal of the game
Turris tipped Dion Phaneuf's slap pass from the left point past Rask from between the circles for the game-winner. "It was just a nice play by Dion there, the heads up to see me there and put it in the right place for me to just kind of tip it towards the net," Turris said.
Video: OTT@BOS: Turris tips home his second goal of the game
Save of the game
Anderson used his mask to stop Patrice Bergeron's wrist shot from the left faceoff dot at 12:27 of the third period.
Highlight of the game
Anderson gloved Noel Acciari's backhand shot from the slot at 14:06 of the second period.
Unsung performance of the game
Ottawa defenseman Mark Borowiecki had seven hits and two blocked shots in 10:48. One of Borowiecki's blocked shots cost him a couple shifts. He took Colin Miller's hard shot off his right arm at 14:40 of the second period but returned by the end of the period.
They said it
"I haven't thought about it, haven't talked about it. It's a different feeling this year and it's not going to happen. I know we have a lot of pride in this room, and the guys that have been through it, there's no other option except making sure that we stay on course and take care and do our jobs." -- Bruins defenseman Torey Krug comparing this season to the past two, when they didn't qualify for the Stanley Cup Playoffs despite being in playoff position late
Video: OTT@BOS: Krug makes a slick move, nets PPG
"It was definitely one for the ages. I think it was definitely a physical battle, guys going back and forth after the whistle, in between whistles. It was just one of those games where both teams are fighting for their playoff lives and that just made for a hard, gritty, hard-nosed hockey game." -- Senators goaltender Craig Anderson
Need to know
Hoffman has five assists during a four-game assist streak. ... Senators forward Mark Stone, who has 50 points (22 goals, 28 assists), missed his sixth straight game with a lower-body injury.
Senators: Host the Pittsburgh Penguins on Thursday (7:30 p.m. ET; NHLN, RDS2, TSN5, ROOT, NHL.TV)
Bruins: Host the Tampa Bay Lightning on Thursday (7 p.m. ET; TVA Sports, NESN, SUN, NHL.TV)
Video: Turris, Anderson lead Sens past Bruins, 3-2