Brock Nelson’s second goal of the game 2:55 into overtime capped a frantic comeback to lift the New York Islanders over the Pittsburgh Penguins 5-4 Tuesday night to extend their unbeaten streak to 15 games.

The Islanders trailed by two late in the third period before goals by Josh Bailey and Ryan Pulock in the final 4:29 of regulation forced overtime. Nelson won it when he fired a shot at Matt Murray that trickled to the goaltender’s right. Nelson tapped the rebound into the open net for his sixth goal of the season.

Anthony Beauvillier added his seventh for the Islanders, and Semyon Varlamov stopped 27 shots as New York improved to 14-0-1 in its last 15 games.

Pittsburgh Penguins' Jake Guentzel (59) passes across the goal crease around New York Islanders goaltender Semyon Varlamov (40) during the second period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

Pittsburgh Penguins' Jake Guentzel (59) passes across the goal crease around New York Islanders goaltender Semyon Varlamov (40) during the second period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

Brandon Tanev scored twice for Pittsburgh. Jake Guentzel had a goal and an assist and Bryan Rust also scored for the Penguins. Murray finished with 37 saves.

Pittsburgh handed the Islanders their only setback during this torrid stretch when it rallied form three goals down in the third period to win in overtime. New York returned the favor in the opening leg of a home-and-home that continues Thursday

Guentzel made it 4-2 early in the third period when Alex Galchenyuk stopped high in the offensive zone and found Guentzel streaking down the middle. Guentzel flipped the puck by Varlamov’s right pad and New York’s first regulation loss since the second week of the season seemed imminent.

Pittsburgh Penguins' Brandon Tanev, right, celebrates his goal with Brian Dumoulin (8) during the first period of an NHL hockey game against the New York Islanders in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

Pittsburgh Penguins' Brandon Tanev, right, celebrates his goal with Brian Dumoulin (8) during the first period of an NHL hockey game against the New York Islanders in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

It wasn’t.

Three days removed from a massive third-period comeback against Philadelphia — when the Islanders erased a three-goal deficit to win in overtime — Bailey’s goal with 4:29 to go got New York back within one. Pulock then tied it when he drilled a slap shot from just inside the blue line with 1:32 remaining after New York pulled Varlamov for an extra skater.

Rust’s seventh goal in 10 games gave the Penguins the lead 11:34 into the first, a wrist shot from the slot set up by a backhand pass from Guentzel, who flicked a backhand pass from the right post to Rust’s stick. Tanev pushed Pittsburgh’s lead to 2-0 less than five minutes later, redirecting John Marino’s shot from the point by Varlamov.

Pittsburgh Penguins' Brandon Tanev (13) deflects the puck past New York Islanders goaltender Semyon Varlamov with Adam Pelech (3) defending during the first period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

Pittsburgh Penguins' Brandon Tanev (13) deflects the puck past New York Islanders goaltender Semyon Varlamov with Adam Pelech (3) defending during the first period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

New York, as it has done regularly during the opening two months, responded emphatically. The Islanders pulled even in the second on goals 2:51 apart. Beauvillier found a soft spot in the left slot between four Pittsburgh defenders and flicked a wrist shot by Murray to make it 2-1. Nelson deflected a Leddy point shot by Murray less than three minutes later to tie it.

Yet New York’s momentum was short lived. Murray’s made a handful of key stops to keep the game even and Tanev — signed to a six-year deal in the offseason to give Pittsburgh scoring depth and some needed jump — put the Penguins back in front when he collected a Marcus Pettersson rebound in front and put together a pretty wraparound 14:31 into the second to pick up just the third multi-goal game of his four-year career.

NOTES: Nelson left briefly in the first period to be evaluated after taking a slap shot off the helmet. The puck hit Nelson’s helmet with such force a portion of it shattered. ... Penguins C Nick Bjugstad missed his second straight game due to a lower-body injury that coach Mike Sullivan said will keep him out “longer-term.” ... Pittsburgh handed out bobbleheads as tribute to general manager Jim Rutherford, who was inducted into Hockey Hall of Fame on Monday. ... The Islanders scratched D Noah Dobson and F Ross Johnston. ... Pittsburgh scratched D Chad Ruhwedel and D Kris Letang, who hasn’t played since Nov. 4 with a lower-body injury. ... The Islanders went 0 for 3 on the power play. The Penguins have killed 23 straight penalties. ... Pittsburgh went 2 for 3 with the man advantage.

New York Islanders' Anthony Beauvillier (18) can't get a shot past Pittsburgh Penguins goaltender Matt Murray (30) with Justin Schultz (4) defending during the first period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

New York Islanders' Anthony Beauvillier (18) can't get a shot past Pittsburgh Penguins goaltender Matt Murray (30) with Justin Schultz (4) defending during the first period of an NHL hockey game in Pittsburgh, Tuesday, Nov. 19, 2019. (AP PhotoGene J. Puskar)

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