Trevor Moore had a hat trick and the Kings beat the struggling Edmonton Oilers 3-1 on Wednesday night.

Viktor Arvidsson assisted on all three goals for the Kings, who have won five of their last six games. Cal Petersen stopped 22 shots. Zach Hyman scored for the Oilers, who have lost five of their last seven games. Stuart Skinner made 29 saves.

The Kings opened the scoring 4:23 into the first period when Moore unleashed a long shot that beat Skinner on the stick side.

Edmonton came close to countering midway through the first period when Connor McDavid made a one-handed play to lift the puck over Petersen, but Arvidsson managed to bat it away.

The Kings outshot the Oilers 13-6 in the first period.

Edmonton tied the score at 1-1 at 12:47 into the second when Ryan Murray intercepted a clearing attempt by Blake Lizotte and sent a pass to Hyman, who beat Petersen with a backhand shot for his eighth goal of the season.

The Kings regained the lead with just under three minutes to play in the second as Arvidsson sent a pass across to Moore, who fired a shot that went off Skinner’s arm and into the net just as a penalty on McDavid expired.

Moore was able to complete the hat trick with an empty-net goal with 57 seconds to play. It was his fifth goal of the season.