Matt Krohn-USA TODAY Sports

Matt Boldy scored the go-ahead goal in the first minute of the third period, and the Minnesota Wild pulled away for a 3-1 win over the San Jose Sharks on Thursday night in Saint Paul, Minn.

Joel Eriksson Ek and Ryan Hartman also scored for Minnesota (35-28-9, 79 points), which snapped a two-game skid. Boldy added an assist and Kirill Kaprizov finished with two assists.

Mikael Granlund scored the lone goal for San Jose, which fell to 0-8-1 in its last nine games. Jan Rutta and Marc-Edouard Vlasic tallied one assist apiece for the Sharks (16-48-8, 40 points), who have the worst record in the NHL.

Filip Gustavsson stopped 26 of 27 shots to earn the victory in net for Minnesota.

Sharks goaltender Mackenzie Blackwood took the loss despite turning aside 29 of 31 shots.

The Wild opened the scoring with 3:59 remaining in the first period.

Kaprizov handled the puck at the top of the left circle and drew the Sharks' attention. He spotted Eriksson Ek at the side of the crease and zipped a pass his direction.

Eriksson Ek settled the puck and lifted a shot into the net for his 30th goal of the season. It marked the first time that the eight-year veteran has reached the 30-goal milestone.

The Sharks evened the score at 1-1 with 10:34 to go in the second period. Granlund carried the puck into the offensive zone on an odd-man rush, and he chipped a shot past Gustavsson for his 11th goal of the season and his second in the past five games.

Minnesota regained a 2-1 lead only 18 seconds into the third period.

Blackwood stopped a point-blank shot by Kaprizov from the slot, but Boldy raced from behind the net and swept in the rebound. It marked Boldy's 25th goal.

Hartman added an empty-net goal in the final minute. The play gave him 19 goals on the season, which matched the second-highest total of his 10-year career.

More must-reads:

TODAY'S BEST
Insider names frontrunner in Browns' QB competition after drafting Shedeur Sanders
Yankees offense goes nuclear in blowout win
Giannis Antetokounmpo rips Tyrese Haliburton's father for 'disrespectful' act
Celtics make unique NBA playoff history in Game 5 win
How Steelers reportedly expect Aaron Rodgers saga will end
Juan Soto's bat speed decline threatens Mets' $765 million investment
NFL team executive expands on what Browns' Shedeur Sanders did wrong before draft
Insider suggests four-time Pro Bowl option for Steelers if Aaron Rodgers doesn't sign
Watch: Pacers, Tyrese Haliburton eliminate the Bucks in OT
Stanley Cup playoffs takeaways: Hurricanes advance, panic time for Maple Leafs
Jayson Tatum's historic game helps send Celtics to Eastern Conference semis
Pirates ace Paul Skenes explains why he's not concerned about potential injuries
Steelers may have found another steal in UDFA pool as Pittsburgh lands an athletic freak
49ers sign star TE to four-year extension
Spurs' Stephon Castle runs away with Rookie of the Year Award
Kings to make Doug Christie new head coach in full-circle moment
Vikings QB J.J. McCarthy sends strong message about whether he's ready to start in 2025
Pistons' Cade Cunningham comes alive in fourth quarter to stave off elimination vs. Knicks
Cubs defeat Pirates with an impressive night at the plate
Watch: Blue Jays' Daulton Varsho makes potential catch of the year

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.