Tyler Ennis had a goal and two assists as the Ottawa Senators beat the Edmonton Oilers 5-2 on Wednesday night.

Artem Anisimov, Connor Brown, Anthony Duclair and Vladislav Namestnikov also scored to help the Senators snap a five-game losing streak. Craig Anderson, returning from a lower-body injury, stopped 24 shots.

More Images
Ottawa Senators' Mark Borowiecki (74) tries to keep Edmonton Oilers' James Neal (18) from the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Tyler Ennis had a goal and two assists as the Ottawa Senators beat the Edmonton Oilers 5-2 on Wednesday night.

Edmonton Oilers' Connor McDavid (97), Oscar Klefbom (77), James Neal (18) and Sam Gagner (89) celebrate a goal against the Ottawa Senators during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Edmonton started the scoring with just under six minutes to play in the first period. Leon Draisaitl made a nice backhand feed in front to Khaira, who scored his sixth of the season. Ottawa challenged the play, believing Sam Gagner was offside, but the goal was confirmed.

Ottawa Senators goalie Craig Anderson (41) makes the save on Edmonton Oilers' Alex Chiasson (39) as Mark Borowiecki (74) defends during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa made it 3-1 on a nice pass from Brown through to Ennis, who scored his eighth of the season with 8:18 remaining in the middle period. The goal chased Koskinen and brought on Smith.

Ottawa Senators goalie Craig Anderson (41) looks for the puck as Edmonton Oilers' Riley Sheahan (23) picks up the rebound during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa kept the pressure on and was rewarded again with 8:13 left as Namestnikov was left alone in front to score his seventh.

Ottawa Senators' Ron Hainsey (81) and Edmonton Oilers' Markus Granlund (60) reach for the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Senators: At Philadelphia on Saturday to finish a five-game trip.

Ottawa Senators' Artem Anisimov (51) and Edmonton Oilers' Riley Sheahan (23) battle for the puck as Oilers' Adam Larsson (6) checks Senators' Anthony Duclair (10) skate to it during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Artem Anisimov (51) and Edmonton Oilers' Riley Sheahan (23) battle for the puck as Oilers' Adam Larsson (6) checks Senators' Anthony Duclair (10) skate to it during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Logan Brown (21) and Edmonton Oilers' Ethan Bear (74) chase the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Logan Brown (21) and Edmonton Oilers' Ethan Bear (74) chase the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Mark Borowiecki (74) skates past as the Edmonton Oilers celebrate a goal during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Mark Borowiecki (74) skates past as the Edmonton Oilers celebrate a goal during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Chris Tierney, right, and Edmonton Oilers' Connor McDavid (97) compete for the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Chris Tierney, right, and Edmonton Oilers' Connor McDavid (97) compete for the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Jujhar Khaira and Oscar Klefbom had goals for the Oilers, losers of three of their last four. Mikko Koskinen gave up three goals on 12 shots before leaving in the second period. Mike Smith finished with 11 saves.

Ottawa Senators' Mark Borowiecki (74) tries to keep Edmonton Oilers' James Neal (18) from the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Mark Borowiecki (74) tries to keep Edmonton Oilers' James Neal (18) from the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Edmonton started the scoring with just under six minutes to play in the first period. Leon Draisaitl made a nice backhand feed in front to Khaira, who scored his sixth of the season. Ottawa challenged the play, believing Sam Gagner was offside, but the goal was confirmed.

The Senators surged into the lead with two goals 12 seconds apart early in the second period.

Ottawa tied it shortly after a power play expired when Anisimov tucked a shot from in tight past Koskinen at 5:15. Then Brown beat Koskinen through the legs with a wrist shot for his first goal in 17 games at 5:27.

Edmonton Oilers' Connor McDavid (97), Oscar Klefbom (77), James Neal (18) and Sam Gagner (89) celebrate a goal against the Ottawa Senators during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Edmonton Oilers' Connor McDavid (97), Oscar Klefbom (77), James Neal (18) and Sam Gagner (89) celebrate a goal against the Ottawa Senators during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa made it 3-1 on a nice pass from Brown through to Ennis, who scored his eighth of the season with 8:18 remaining in the middle period. The goal chased Koskinen and brought on Smith.

Klefbom beat Anderson on a long power-play shot with 2:23 left to pull the Oilers within one.

The Senators made it 4-2 just 90 seconds into the third as Duclair picked up a wide shot behind the net and tucked it into the net for his 11th.

Ottawa Senators goalie Craig Anderson (41) makes the save on Edmonton Oilers' Alex Chiasson (39) as Mark Borowiecki (74) defends during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators goalie Craig Anderson (41) makes the save on Edmonton Oilers' Alex Chiasson (39) as Mark Borowiecki (74) defends during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa kept the pressure on and was rewarded again with 8:13 left as Namestnikov was left alone in front to score his seventh.

NOTES: Ottawa has won its last six trips to Edmonton. ... Ottawa's Brady Tkachuk played in his 100th NHL game. ... Out with injuries for the Oilers were Ryan Nugent-Hopkins (hand), Zack Kassian (back) and Matt Benning (head), while the Senators were without Cody Goloubef (undisclosed), Scott Sabourin (head) and Christian Wolanin (upper body).

UP NEXT

Ottawa Senators goalie Craig Anderson (41) looks for the puck as Edmonton Oilers' Riley Sheahan (23) picks up the rebound during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators goalie Craig Anderson (41) looks for the puck as Edmonton Oilers' Riley Sheahan (23) picks up the rebound during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Senators: At Philadelphia on Saturday to finish a five-game trip.

Oilers: Host Los Angeles on Friday night in the second of a four-game homestand.

More AP NHL: www.apnews.com/NHL and www.twitter.com/AP_Sports

Ottawa Senators' Ron Hainsey (81) and Edmonton Oilers' Markus Granlund (60) reach for the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Ron Hainsey (81) and Edmonton Oilers' Markus Granlund (60) reach for the puck during the second period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Artem Anisimov (51) and Edmonton Oilers' Riley Sheahan (23) battle for the puck as Oilers' Adam Larsson (6) checks Senators' Anthony Duclair (10) skate to it during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Artem Anisimov (51) and Edmonton Oilers' Riley Sheahan (23) battle for the puck as Oilers' Adam Larsson (6) checks Senators' Anthony Duclair (10) skate to it during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Logan Brown (21) and Edmonton Oilers' Ethan Bear (74) chase the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Logan Brown (21) and Edmonton Oilers' Ethan Bear (74) chase the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Mark Borowiecki (74) skates past as the Edmonton Oilers celebrate a goal during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Mark Borowiecki (74) skates past as the Edmonton Oilers celebrate a goal during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Chris Tierney, right, and Edmonton Oilers' Connor McDavid (97) compete for the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)

Ottawa Senators' Chris Tierney, right, and Edmonton Oilers' Connor McDavid (97) compete for the puck during the first period of an NHL hockey game Wednesday, Dec. 4, 2019, in Edmonton, Alberta. (Jason FransonThe Canadian Press via AP)