Mitch Marner had a goal and two assists and the Toronto Maple Leafs overcame a slow start and beat the Minnesota Wild 4-2 on Tuesday night.

Andreas Johnsson had a goal and an assist, and Auston Matthews and John Tavares also scored for Toronto. Frederik Andersen made 27 saves.

More Images
Minnesota Wild's Joel Eriksson Ek (14) and Marcus Foligno (17) watches as Luke Kunin's shot goes past Toronto Maple Leafs goaltender Frederik Andersen for the opening goal during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Mitch Marner had a goal and two assists and the Toronto Maple Leafs overcame a slow start and beat the Minnesota Wild 4-2 on Tuesday night.

Minnesota Wild goaltender Devan Dubnyk reacts after a Toronto Maple Leafs goal during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Luke Kunin and Gerald Mayhew scored for Minnesota. Devan Dubnyk stopped 30 shots for the Wild, who were coming off a 2-0 win at Ottawa on Sunday.

Toronto Maple Leafs goaltender Frederik Andersen sprawls on the ice after stopping the puck in front of Minnesota Wild's Victor Rask (49) and Jason Zucker (16) during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

The goal came after head coach Mike Babcock moved Trevor Moore up to play with Tavares and Marner. Kasperi Kapanen slid down the lineup to join Alexander Kerfoot and Ilya Mikheyev.

Toronto Maple Leafs' Auston Matthews (34) scores on Minnesota Wild goaltender Devan Dubnyk (40) during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Toronto made Minnesota pay 10 seconds later when Johnsson batted a puck out of the air in Dubnyk's crease at 8:29. The Leafs connected on two of their first three power-play opportunities after entering 5 for 22 on the season.

Toronto Maple Leafs' Andreas Johnsson (18) celebrates after Mitchell Marner, not seen, scored on Minnesota Wild goaltender Devan Dubnyk (40), while Wild's Ryan Suter (20) looks to the puck during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Andersen had to be sharp five minutes into the third on 3-on-1 break. He robbed Zach Parise after Toronto turned the puck over on an odd-man rush.

Maple Leafs defenseman Morgan Rielly added four assists in the second period, tying a franchise record for assists in a period of a regular-season game set by Rick Vaive on March 12, 1984.

Minnesota Wild's Joel Eriksson Ek (14) and Marcus Foligno (17) watches as Luke Kunin's shot goes past Toronto Maple Leafs goaltender Frederik Andersen for the opening goal during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Minnesota Wild's Joel Eriksson Ek (14) and Marcus Foligno (17) watches as Luke Kunin's shot goes past Toronto Maple Leafs goaltender Frederik Andersen for the opening goal during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Luke Kunin and Gerald Mayhew scored for Minnesota. Devan Dubnyk stopped 30 shots for the Wild, who were coming off a 2-0 win at Ottawa on Sunday.

After falling behind early for the sixth time in seven games overall and the fifth time in five home dates, Toronto rallied with four goals in the second period.

Tavares got things going at 1:58 when he scored on a slap shot off the post and past Dubnyk for his second of the season.

Minnesota Wild goaltender Devan Dubnyk reacts after a Toronto Maple Leafs goal during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Minnesota Wild goaltender Devan Dubnyk reacts after a Toronto Maple Leafs goal during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

The goal came after head coach Mike Babcock moved Trevor Moore up to play with Tavares and Marner. Kasperi Kapanen slid down the lineup to join Alexander Kerfoot and Ilya Mikheyev.

Marner then gave the Leafs their first lead on a power play at 7:17. He took a no-look pass from Johnsson down low and fired a shot through the pads that Dubnyk.

The Wild, who will play 13 of their first 18 games on the road, appeared to have a chance to even the score later in the period, but Ryan Hartman pulled down Leafs defenseman Jake Muzzin with Ryan Donato off to the races on a breakaway.

Toronto Maple Leafs goaltender Frederik Andersen sprawls on the ice after stopping the puck in front of Minnesota Wild's Victor Rask (49) and Jason Zucker (16) during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Toronto Maple Leafs goaltender Frederik Andersen sprawls on the ice after stopping the puck in front of Minnesota Wild's Victor Rask (49) and Jason Zucker (16) during the first period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Toronto made Minnesota pay 10 seconds later when Johnsson batted a puck out of the air in Dubnyk's crease at 8:29. The Leafs connected on two of their first three power-play opportunities after entering 5 for 22 on the season.

Toronto went up 4-1 at 13:05, when Matthews scored his seventh on a pretty give-and-go with Marner off the rush and scoring on his own rebound after Dubnyk, made the initial stop after an awkward Wild change.

Andersen was called on to stop Marcus Foligno on a breakaway in the final minute of the second after the Leafs' fourth line and third defensive pair got caught being too aggressive in the offensive zone.

Toronto Maple Leafs' Auston Matthews (34) scores on Minnesota Wild goaltender Devan Dubnyk (40) during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Toronto Maple Leafs' Auston Matthews (34) scores on Minnesota Wild goaltender Devan Dubnyk (40) during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Andersen had to be sharp five minutes into the third on 3-on-1 break. He robbed Zach Parise after Toronto turned the puck over on an odd-man rush.

Johnsson nearly got his second later in the period, but his blast from the hash marks rattled the crossbar and stayed out.

Mayhew, who was making his NHL debut, scored late for the Wild.

Toronto Maple Leafs' Andreas Johnsson (18) celebrates after Mitchell Marner, not seen, scored on Minnesota Wild goaltender Devan Dubnyk (40), while Wild's Ryan Suter (20) looks to the puck during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

Toronto Maple Leafs' Andreas Johnsson (18) celebrates after Mitchell Marner, not seen, scored on Minnesota Wild goaltender Devan Dubnyk (40), while Wild's Ryan Suter (20) looks to the puck during the second period of an NHL hockey game Tuesday, Oct. 15, 2019, in Toronto. (Chris YoungThe Canadian Press via AP)

The Wild opened the scoring at 5:29 of the first after Dubnyk stopped William Nylander on a break and killed off an early penalty.

Kunin got the puck at the top of the faceoff circle and fired a shot that beat Andersen.

NOTES: Mayhew, a 26-year-old product of Ferris State University and a veteran of 164 American Hockey League games, did a solo lap before warmups. ... Dubnyk entered the game 0-4-0 with a 4.56 goals-against average and .862 save percentage.

UP NEXT

Wild: At Montreal on Thursday.

Leafs: At the Washington Capitals on Wednesday.

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