RALEIGH, N.C. (AP) Andrei Svechnikov long dreamed of scoring his first NHL goal. It could not have come at a better time for the Carolina Hurricanes.

Warren Foegele had two goals and an assist, Svechnikov got his first career goal to snap a tie midway through the third period, and the Hurricanes rallied to beat the New York Rangers 8-5 on Sunday.

Svechnikov, the No. 2 overall pick in June's draft, deflected Justin Faulk's shot in front of the net with 9:16 remaining to break a 5-5 tie and give the Hurricanes their first lead. Foegele followed with his second goal 47 seconds later and Teuvo Teravainen added an empty-netter to secure Carolina's first home win under new coach Rod Brind'Amour.

''I waited for this my whole life,'' said the 18-year-old Svechnikov, who became the first NHL player born in the 2000s to score a goal. ''This was my dream, and my dream came true.''

Svechnikov's go-ahead score was one of four unanswered goals by the Hurricanes in the third period as they erased a 5-4 deficit. Lucas Wallmark scored the tying goal for the Hurricanes with 14:59 left.

Jordan Martinook, Jordan Staal and Micheal Ferland also scored and Justin Williams had three assists for Carolina.

The Rangers had leads of 2-0, 3-2, 4-3 and 5-4 and failed to hold each of them.

''Even when we got down two, thankfully it was early, you could just feel it on the bench: There was no panic, there was no `Oh man we're not coming back.' It was `Ok, let's just get to our game and we'll see what happens,''' said Brind'Amour, who picked up his first win Friday on the road at Columbus. ''I think that's a real positive, especially with the young guys. Maybe they don't know any better. I just liked that they kept digging in.''

Jimmy Vesey and Chris Kreider each scored twice and Pavel Buchnevich added a goal for New York, which remains winless in three games under new coach David Quinn.

''Defensively we looked like we had never gone over these coverages or anything we had been working on,'' Quinn said. ''We had a hard time handling success tonight. When we got up, we didn't pay attention to detail in the same situation.''

Petr Mrazek made 19 saves for the Hurricanes and Alexandar Georgiev had 32 for the Rangers in a wild offensive game.

The teams combined for four goals in each of the first two periods and were tied 4-4 heading to the third.

Vesey and Kreider scored on the Rangers' first two shots of the game, only to have the Hurricanes battle back.

Foegele and Martinook scored to pull the Hurricanes into a 2-2 tie by the end of the first. Vesey again opened the scoring with a quick goal in the second, and again Carolina responded. Just as the Hurricanes killed off a 4-on-3 power play, a long pass from Jaccob Slavin and chip ahead from Foegele set Staal loose on a breakaway, and the Carolina veteran forward finished it off a vicious wrister over Georgiev's blocker.

Buchnevich gave the Rangers the lead once again in the second when he stuffed home a rebound on a power play, but a critical mistake by Georgiev allowed the Hurricanes to tie it back up in the final seconds of the period. As the clock moved under a minute, the Rangers' goalie left his crease to try and clear a puck out of the corner. His clearing attempt went right to Ferland at the point, and Ferland flipped a wrister over Georgiev's shoulder as he raced back to his net, making it a 4-4 game with 31 seconds left in the second period.

''A lot of it was sloppy puck management,'' Quinn said. ''Making bad decisions, vacating the net front.We've got to learn to handle a little bit of success.''

It was more of the same in the third.

Kreider gave the Rangers the lead again, only to have Wallmark tie it 35 seconds later.

This time though, the Hurricanes charged ahead, taking their first lead on Svechnikov's tally and piling on from there.

''Every time we were down coach just told us just keep going, play hard, and we did our job,'' Svechnikov said. ''It was good.''

When the final buzzer sounded, the entire Hurricanes team lined up along the blue line, began clapping over their heads in synch with the crowd, and then raced down the ice and jumped into the boards behind the net in celebration, bringing the crowd to a frenzy.

''We want to have fun when you win,'' Brind'Amour said. ''The game should be fun. That's what we're doing. I want the players to enjoy winning and the fans to enjoy being here and our owner has been pushing that all the way, making it a fun experience for all involved, why wouldn't you try something a little different? I'm happy the guys did something.''

NOTES: The game marked the first time in Whalers/Hurricanes franchise history the team overcame four separate deficits to win. ... Vesey has more goals (six) and points (eight) against the Hurricanes than any other team in his career. ... Hurricanes F Martin Necas recorded his first career point with an assist on Foegele's first-period goal. ... The Rangers swept the season series against the Hurricanes last season 4-0-0. ... Hurricanes F Staal and Rangers D Marc Staal are brothers and alternate captains for their respective teams. ... The Hurricanes scratched D Haydn Fleury and F Valentin Zykov. ... The Rangers scratched F Vinni Lettieri, F Cody McLeod and D Fredrik Claesson.

UP NEXT

Rangers: Host San Jose on Thursday night.

Hurricanes: Host Vancouver on Tuesday night.

---

More AP NHL: https://apnews.com/tag/NHL and https://www.twitter.com/AP-Sports

Copyright 2018 by AP. Any commercial use or distribution without the express written consent of AP is strictly prohibited.