Lauri Korpikoski scored three goals for his first career hat trick, Taylor Hall added two goals and two assists, and the Edmonton Oilers beat the New York Rangers 7-5 Friday night for their fifth straight win.

Teddy Purcell and Darnell Nurse also scored for the Oilers, who have won their last six at home dating back to Nov. 20.

Derick Brassard scored twice and Mats Zuccarello, Rick Nash and Chris Kreider also had goals for the Rangers. New York has lost two in a row and four of the last five.

After Nash tied the score 5-5 on a power-play goal with 1:46 remaining in regulation, Hall put the Oilers back ahead for good 13 seconds later with his second of the night. Korpikoski completed his hat trick into an empty net with 38 seconds to go.

Edmonton took a 4-3 lead just 18 seconds into the third period on a backhand shot from Hall.

Nurse gave the Oilers their second two-goal lead of the game at 2:40 to chase Rangers goalie Henrik Lundqvist in favor of backup Antti Raanta.

New York made it 5-4 less than 4 minutes later as Brassard knocked in the rebound of Nash's shot that went off the post.

Edmonton opened the scoring on a power-play goal at 6;35 of the first as Korpikoski made a strong second effort to poke a rebound under Lundqvist.

The Rangers tied it with 7:44 left in the period when Edmonton couldn't clear the puck, allowing Kreider to make a long pass to Zuccarello, who put his 12th of the season past Oilers goalie Anders Nilsson from the front of the net.

The Oilers went ahead with goals 1:10 apart later in the period. Korpikoski got his second in tight off a rebound and Hall dropped a pass back to Purcell in the slot and he picked the top corner to make it 3-1 with just over 3 minutes remaining.

New York got one back 53 seconds into the second period as Kreider split the defence and slid the puck between Nilsson's legs.

The Rangers tied it at 8:44 on a long shot from Brassard.

NOTES: A special pregame banner raising ceremony was held to honor former Oilers coach and general manager Glen Sather, now president of the Rangers. Sather was the architect of Edmonton's five Stanley Cup wins. .. Rangers bench boss Alain Vigneault coached his 1,000th game. ... The teams will meet again Tuesday night in New York in the second game of the Oilers' four-game road trip that begins the previous night at Boston.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.