OTTAWA -- Erik Karlsson scored a power-play goal 32 seconds into overtime to give the Ottawa Senators a 2-1 win against the Anaheim Ducks at Canadian Tire Centre on Thursday.
Mike Condon made 30 saves for the Senators (16-24-9), who ended a six-game losing streak.
"It's been a while," Condon said. "It's a good feeling. It's good to have the building cheering at the end of a game. It's good to see the guys with smiles on their face. It's been a rough stretch here, so it feels nice."
[WATCH: All Ducks vs. Senators highlights]
The Ducks (25-17-10), who have not won four straight this season, had a three-game winning streak end.
Anaheim forward Ryan Kesler tied the game 1-1 with 54 seconds left in the third period and the Ducks net empty.
Video: ANA@OTT: Kesler pots redirection to tie it late
"It was a weird game," Kesler said. "The whole building seemed dead tonight. I think it was a product of what was on the ice. For whatever reason, both teams seemed sluggish in the second period and both teams were playing defensively, so you're not going to get a lot of shots."
Ottawa had not won since Jan. 10, 4-3 against the Toronto Maple Leafs.
"I'll be honest with you," Senators coach Guy Boucher said. "We never talked about the streak. We just talked about the opponent, what we wanted to do and what we wanted to do after the games we played well. The last two games were good games that slipped away in the third, and we wanted to make sure that, in the third period, we had a solid one, and we did."
Karlsson one-timed a pass from Matt Duchene past Ducks goaltender Ryan Miller for his fifth goal of the season.
"I think that today we played as good as we have this year," Karlsson said. "We know we needed to do that to play against a team like this, and even though we played our best hockey today, I think that they did a great job too. They held us accountable when we made mistakes and they made us earn everything that we got out there."
Miller made 30 saves for the Ducks, who were without John Gibson because of a lower-body injury he sustained Tuesday in a 3-1 win against the Boston Bruins.
"He held us in there when they had their chances," Anaheim coach Randy Carlyle said of Miller. "That's what a veteran goaltender is capable of doing. He didn't get rattled, and I thought that the hockey game was up for grabs."
Bobby Ryan gave the Senators a 1-0 lead when he deflected Mike Hoffman's point shot on a power play at 4:37 of the third period.
Goal of the game
Ryan's goal at 4:37 of the third period.
Video: ANA@OTT: Ryan tips home Hoffman's shot for PPG
Save of the game
Condon's save on Kesler with 1:40 left in the third period.
Video: ANA@OTT: Condon stones Kesler with his pad
Highlight of the game
Karlsson's goal 32 seconds into overtime.
Video: ANA@OTT: Karlsson scores OT winner in 600th game
They said it
"We took a very undisciplined penalty in the third period to give them life in the hockey game, and you can't do that on the road. There's no defending that penalty. There's no need for [Chris Wagner] to get involved with that. We go from a power play to a 4-on-4, and next thing you know, [Jakob] Silfverberg gets his feet caught up with Karlsson and it's a 4-on-3 and there's their first goal. It was a momentum changer, and we have to correct those things." -- Ducks coach Randy Carlyle
"I've been very fortunate to play as many games as I have. I'm very lucky in that aspect, and hopefully I have 600 more, but I think that the win was the best thing today. That's what we were after and it was nice to see that we got it." -- Senators defenseman Erik Karlsson on playing in his 600th NHL game
Need to know
Ryan left the game in the third period after gloving down a puck. Ryan missed one game with a hand injury sustained Jan. 9, and missed eight games in late October-early November with a broken finger. … Karlsson tied Kyle Turris for second in Senators history with his fifth regular-season overtime goal; Mike Fisher had seven.
Ducks: At the Montreal Canadiens on Saturday (1 p.m. ET; TSN2, RDS, FS-W, NHL.TV)
Senators: At the Philadelphia Flyers on Saturday (1 p.m. ET; NHLN, NBCSP, RDS2, TSN5, NHL.TV)
Video: Karlsson scores PPG in OT as Sens top Ducks, 2-1