Paul Stastny scored 6:01 into overtime, and the Carolina Hurricanes beat the New York Islanders 2-1 on Friday night in Game 6 to advance to the second round of the Stanley Cup playoffs.

Sebastian Aho tied it midway through the third period for the Hurricanes. Frederik Andersen stopped 35 shots in his first postseason start.

Cal Clutterbuck scored for the Islanders, and Ilya Sorokin finished with 39 saves. New York was eliminated in the first round for the first time in its last five trips to the postseason.

The Hurricanes advanced to face the winner of the series between the New York Rangers and the New Jersey Devils. The Devils lead 3-2 heading into Game 6 on Saturday night.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

The Carolina Hurricanes celebrate after defeating the New York Islanders in overtime in Game Six of the First Round of the 2023 Stanley Cup Playoffs at UBS Arena on April 28, 2023 in Elmont, New York. The Carolina Hurricanes defeated the New York Islanders in the series 4-2. (Josh Lavallee/NHLI via Getty Images)

Derek Stepan began the winning sequence in overtime when he intercepted Islanders defenseman Adam Pelech’s punt pass. Stepan skidded past to Stastny, who fired a sharp-angle shot from the goal line that deflected off Sorokin’s left bag and between his legs.

It was the third overtime playoff winner of Stastny’s career.

After being outshot in each of the first two periods, the Hurricanes held a 19-5 lead going into the third and tied the score at halfway through the period.

Paul Stastny celebrates

Paul Stastny #26 of the Carolina Hurricanes reacts after scoring the game-winning goal in overtime against Ilya Sorokin #30 of the New York Islanders in Game Six of the First Round of the 2023 Stanley Cup Playoffs at UBS Arena on April 28, 2023 in Elmont, New York. (Mike Stobe/NHLI via Getty Images)

POISONED WOMAN FOUND IN HOSPITALIZED ROOM OF VALERI NICHUSHKIN HOTEL IN AVALANCHE: REPORTS

Sorokin denied a Jesse Puljujarvi backhand shot at 2:13 of the third to keep the Hurricanes off the scoreboard. At the other end, Andersen saved a shot from Casey Cizikas less than 10 seconds later. Sorokin also had a nice glove save on Jordan Martinook at 8:17.

Aho from the left gate at 9:24 when he knocked the puck out of the air with his glove past Sorokin. It was his fourth goal of the series.

The Islanders outscored the Hurricanes 17-11 in a scoreless second period in which both sides had plenty of scoring opportunities.

The batons celebrate the winning goal in the series

Paul Stastny #26 of the Carolina Hurricanes celebrates with teammates after scoring the game-winning goal in overtime against the New York Islanders in Game Six of the First Round of the 2023 Stanley Cup Playoffs at UBS Arena on April 28, 2023 in Elmont, New York. (Mike Stobe/NHLI via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Sorokin blocked Brady Skjei’s point shot 1:03 into the second period. Andersen then gloved a shot between the circles from Brock Nelson four minutes later.