TORONTO — Dylan Larkin scored on a breakaway at 2:48 of overtime and the Detroit Red Wings beat the Toronto Maple Leafs 5-4 on Thursday night after blowing a three-goal lead in the third period.

Larkin beat Garret Sparks between the pads to snap Toronto’s five-game winning streak.

Gustav Nyquist set up the winner, and finished with a goal and two assists. Mike Green had a goal and an assist, Jonathan Ericsson and Luke Glendening also scored, Larkin had an assist and former Maple Leafs goalie Jonathan Bernier stopped 27 shots.

Andreas Johnsson and Kasperi Kapanen had a goal and an assist each for Toronto. John Tavares and Zach Hyman also scored, and Sparks made 27 saves.

William Nylander suited up for his first game since coming to terms with Toronto on a new six-year, $45 million contract over the weekend. The 22-year-old winger got a mostly warm reception when he stepped on the ice for his first shift, and started on a line with Auston Matthews and Patrick Marleau before getting benched midway through the third period.

Toronto came to life in the third, scoring three goals in just under nine minutes to tie it.

Tavares made it 4-2 when he ripped his 18th past Bernier off the rush at 2:38 of the third. Hyman added his seventh on a rebound at 8:50, and Johnsson tied it with his sixth with 12:24 to go.

PENGUINS 6, ISLANDERS 2: Kris Letang and Phil Kessel each scored twice as Pittsburgh won at home.

Kessel also had two assists, Sidney Crosby scored his 15th goal and had two assists, and Riley Sheahan scored his fourth goal. The Penguins have won two straight and 5 of 8 following a slump in which they won once in 10 games.

BLUE JACKETS 4, FLYERS 3: Seth Jones scored his second goal of the game 10 seconds into overtime to lift Columbus to a win at Philadelphia.

AVALANCHE 5, PANTHERS 2: Carl Soderberg scored twice, J.T. Compher broke a third-period tie and Colorado won at Sunrise, Florida.

Mikko Rantanen and Gabriel Landeskog also scored for the Avalanche. Philipp Grubauer stopped 33 shots.

CANADIENS 5, SENATORS 2: Paul Byron scored twice as Montreal topped host Ottawa to sweep the home-and home series.