MINNEAPOLIS (AP) — Ryan Pulock and Matt Martin scored less than 2 minutes apart early in the third period and the struggling New York Islanders rallied to beat the Minnesota Wild 3-1 Sunday.

Tom Kuhnhackl scored late and Semyon Varlamov stopped 25 shots for New York, which won for the second time in its past six games.

Suggesting his team may have become a bit complacent after winning 22 of its first 31 games, Islanders coach Barry Trotz ran a back-to-the-basics practice Saturday. It paid off on Sunday as New York carried the play much of the night.

Ryan Donato scored for the Wild, looking to make a division charge with a long stretch of home games.

Minnesota, which has played a league-high 24 road games, began a stretch of 18 of 23 contests at Xcel Energy Center, where it is 10-3-3. The Wild are 13-5-4 overall since starting the season 6-11-1.

WIth the Islanders trailing 1-0 entering the third, Pulock’s shot from the top of the slot hit Devan Dubnyk, who thought he stopped the puck, but it trickled across the line as players were pushing and shoving in front.

Martin, a fourth-line wing, put New York up 2-1 just 97 seconds later with his first goal in 18 games. Leo Komarov poked the puck past defenseman Brad Hunt at the Wild blue line, won the race to the puck in the right circle, and, while falling, sent a backhand across to Martin for a redirect.

Kuhnhackl added an insurance goal with 2:31 to play.

Dubnyk finished with 25 saves. He made four on a New York power play late in the second period, and the Wild nearly scored in period’s final seconds but a shot by Hunt clanked off the post. Marcus Foligno hit a post earlier in the period.

Varlamov struggled to control the puck early, and it cost him with 4:17 left in the first when he couldn’t control a bad-angle shot from Ryan Suter. Donato scored off a scramble in front.

The Islanders have allowed a league-low 97 goals through 37 games.

NOTES: New York D Nick Leddy had an assist for his 300th career point. Leddy was Minnesota’s Mr. Hockey in 2009, an award given to the state’s top high school hockey player. … Suter’s assist on Donato’s goal gave him nine points in his past nine games. … Wild C Mikko Koivu (lower-body) practiced Saturday, but missed his 12th straight game.

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

Comments