ST. PAUL, Minn. — Erik Haula scored midway through the third period to help the Wild hold off the Islanders 6-4 on Thursday night for their 12th victory in a row.

Marco Scandella, Chris Stewart, Jared Spurgeon, Jordan Schroeder and Mikael Granlund also scored for Minnesota, which had a franchise-record three goals in 80 seconds in the second period.

“It’s a tough loss,” Islanders coach Jack Capuano said. “It’s too bad. Jaro [Halak] wasn’t sharp at all. Some soft goals to start, and then we had to battle our way back in.”

The Wild’s Devan Dubnyk allowed more than three goals for the first time this season but made 23 saves to win his 10th straight start.

Haula put Minnesota ahead 5-4 with his sixth goal after Nino Niederreiter’s shot deflected off Haula’s leg. The Islanders’ Brock Nelson scored twice in 42 seconds early in the period to tie it.

Chris Stewart (not pictured) scores a goal on Jaroslav Halak during the Islanders’ 6-4 loss to the Wild on Thursday night.Getty Images

The win sets up a showdown on New Year’s Eve against the Blue Jackets, who have won 14 straight games. It’s the first game in NHL history featuring two teams on such long winning streaks.

Jason Chimera and Nick Leddy also scored for the Islanders, who had won three in a row. Jean-Francois Berube stopped 10 of 11 shots after taking over for Halak, who was pulled early for the second time this season after giving up four goals on 24 shots.