NHL

Pavelski scores 2, Sharks beat Red Wings 6-3

  • Detroit Red Wings' Tomas Tatar, left, is defended by San Jose Sharks' Brent Burns (88) during the first period of an NHL hockey game Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)

    Detroit Red Wings' Tomas Tatar, left, is defended by San Jose Sharks' Brent Burns (88) during the first period of an NHL hockey game Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)  (The Associated Press)

  • Detroit Red Wings' Anthony Mantha, center, is defended by San Jose Sharks' Justin Braun, right, and goalie Martin Jones (31) during the first period of an NHL hockey game Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)

    Detroit Red Wings' Anthony Mantha, center, is defended by San Jose Sharks' Justin Braun, right, and goalie Martin Jones (31) during the first period of an NHL hockey game Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)  (The Associated Press)

  • San Jose Sharks' Mirco Mueller (41) celebrates his goal with teammates on the bench during the first period of an NHL hockey game against the Detroit Red Wings Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)

    San Jose Sharks' Mirco Mueller (41) celebrates his goal with teammates on the bench during the first period of an NHL hockey game against the Detroit Red Wings Saturday, Jan. 7, 2017, in San Jose, Calif. (AP Photo/Marcio Jose Sanchez)  (The Associated Press)

Joe Pavelski had two goals, Mikkel Boedker scored for the first time in 30 games and the San Jose Sharks beat the Detroit Red Wings 6-3 Saturday night to end a three-game slide.

Patrick Marleau, Mirco Mueller and Joonas Donski also scored for the Sharks, who also helped goalie Martin Jones get his 20th win of the season.

Thomas Vanek, Anthony Mantha and Andreas Athanasiou scored for the Red Wings, who were coming off a shutout and had allowed two goals in their previous two games. Athanasiou scored in back-to-back games for the first time since October and has five points in the two games since being benched.

The Sharks scored three goals within a four-minute span late in the first period, erasing a 1-0 deficit. They also scored twice in the opening five minutes of the third before the Red Wings responded again.