EDMONTON -- The Anaheim Ducks moved two points ahead for third place in the Pacific Division when they rallied for a 5-4 overtime win against the Edmonton Oilers at Rogers Place on Sunday.
Hampus Lindholm scored at 1:21 of overtime after Adam Henrique scored two goals in the third period, including the game-tying goal with 1:29 remaining.
Josh Manson and Corey Perry also scored for Anaheim (39-24-13), which moved two points ahead of the Los Angeles Kings and pulled within four points of the San Jose Sharks for second in the Pacific. John Gibson made 28 saves.
[WATCH: All Ducks vs. Oilers highlights]
"We were certainly in a funk for the first two periods," Ducks coach Randy Carlyle said. "We made a decision if we were going to get ourselves back involved in the game that we were going to have to play at a much more passionate level, and we were going to have to be more determined and execute to a higher level and everybody had to get involved in playing the game the right way."
Connor McDavid had a goal and two assists to extend his lead in the NHL scoring race with 99 points (39 goals, 60 assists). Ty Rattie, Leon Draisaitl and Ethan Bear also scored for Edmonton (34-36-6), and Cam Talbot made 33 saves.
"When you are up 3-1 in the third period, you have to find a way to close those out. It's frustrating," McDavid said.
Bear's first NHL goal gave the Oilers a 4-3 lead on a power play at 12:42 of the third period, when he converted a cross-ice pass from McDavid.
Video: ANA@EDM: Bear nets first NHL goal off McDavid's pass
Henrique tied it at 18:31 with Gibson on the bench for an extra attacker.
"The first two periods, we were not there at all and we were lucky [Gibson] kept us in the game," Lindholm said. "At least this time, we could help him out and respond there and we were able to get a win. That was huge for us."
McDavid scored at 1:46 of the first period to give the Oilers 1-0 lead on a quick shot from the right face-off circle.
Video: ANA@EDM: McDavid wires wrister to beat Gibson
Manson tied the game 19 seconds later, picking the top corner on a rush down the right side.
Rattie put Edmonton up 2-1 at 7:44 of the second period, three seconds after a holding penalty to Lindholm expired.
Draisaitl gave the Oilers a 3-1 lead on an assist from Bear at 18:18 of the second.
"I thought their big boys really picked their play up in the third, and I thought we ran out of gas," Oilers coach Todd McLellan said. "We've played a lot of hockey. I think we've played three sets of back-to-backs in less two weeks and a little bit of travel, and I think it's catching up and we're a tired team not only physically, but a little bit mentally."
Henrique made it 3-2 at 1:55 of the third period, tipping in a shot from Marcus Pettersson.
Video: ANA@EDM: Henrique tips Pettersson's shot home
Perry tied it 3-3 on a rebound in front following a wraparound attempt by Cam Fowler.
"I think we just got to our game, put pucks in and got to our forecheck game," Henrique said. "It was a bit of a grind in the third there and we were getting pucks and bodies to the net. We knew we had to come out hard and not leave anything on the table, and obviously we got a huge goal in overtime too."
Goal of the game
Lindholm's goal at 1:21 of overtime.
Video: ANA@EDM: Lindholm beats Talbot for overtime win
Save of the game
Gibson's save against Draisaitl at 10:53 of the second period.
Video: ANA@EDM: Gibson stands tall on Draisaitl's blast
Highlight of the game
Henrique's goal at 18:31 of the third period.
Video: ANA@EDM: Henrique tips in second to tie game late
They said it
"We've played a couple of games in the last little while where we seem to be in some sort of a funk. We think we're working and we're not working; our passing is not on, we're not playing fast enough. We're not physically and emotionally involved in the game, and tonight was two periods of that. For whatever reason, they decided that was enough and they went out and executed and played to a much higher level and forced our will upon the opposition, and we were rewarded." -- Ducks coach Randy Carlyle
"It was a really good feeling, and at the same time a big sigh of relief. It is something you dream about your whole life. To get that first one, it feels really good." -- Oilers defenseman Ethan Bear on his first NHL goal
Need to know
Anaheim is 5-0-1 in its past six games after losing three straight. … Perry has 13 points (five goals, eight assists) in his past 13 games. … McDavid has 24 goals in his past 27 games. ... Rattie has four goals in his past six games. ... Oilers forward Milan Lucic has one goal in his past 40 games.
Ducks: At the Vancouver Canucks on Tuesday (10 p.m. ET; SNP, FS-W, NHL.TV)
Oilers: Host the Columbus Blue Jackets on Tuesday (9 p.m. ET; SNW, FS-O, NHL.TV)
Video: Lindholm pots OT winner as Ducks rally to beat Oilers