Tomas Hertl scored the only goal in a four-round shootout to give the San Jose Sharks a 2-1 victory over the St. Louis Blues on Wednesday night.

Marcus Sorensen scored the tying goal late in the second period and Martin Jones made 22 saves for the Sharks, who snapped a six-game losing streak to St. Louis that started in the 2019 playoffs.

Jones denied all four Blues shooters in the tiebreaker.

San Jose Sharks' Tomas Hertl celebrates after scoring the game winning goal against the St. Louis Blues during a shootout of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

San Jose Sharks' Tomas Hertl celebrates after scoring the game winning goal against the St. Louis Blues during a shootout of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

Brayden Schenn scored in his second consecutive game and Jordan Binnington made 37 saves for the Blues.

San Jose appeared to get the game-winner with 11 seconds left in overtime, but the officials quickly waved it off for goaltender interference on Ryan Donato. After a replay review, the call was upheld.

John Leonard almost gave the Sharks the lead, ringing a drive off the post early in the second period.

San Jose Sharks goaltender Martin Jones, right, stops a shot by St. Louis Blues' Brayden Schenn during a shootout of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

San Jose Sharks goaltender Martin Jones, right, stops a shot by St. Louis Blues' Brayden Schenn during a shootout of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

Instead, Schenn put the Blues on top at 4:27 of the second off Jordan Kyrou's feed. It was the first time in four games that St. Louis scored first.

Vince Dunn came close to building on St. Louis’ lead, but he hit the post late in the second.

The Sharks took advantage, tying the game with 2:03 left in the second as Sorensen made a diving poke off Matt Nieto's shot to even the game 1-all.

St. Louis Blues' David Perron, right, slips as San Jose Sharks' Brent Burns defends during overtime of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

St. Louis Blues' David Perron, right, slips as San Jose Sharks' Brent Burns defends during overtime of an NHL hockey game Wednesday, Jan. 20, 2021, in St. Louis. (AP PhotoJeff Roberson)

SPECIAL TEAMS

The teams combined to go 0 for 12 on the power play.

St. Louis is scoreless on its first 14 chances with the man advantage this season, while San Jose entered the game second in the NHL, scoring on 45% of its power-play opportunities.

SEASON DEBUTS

Sharks forward Dylan Gambrell was in the lineup for the first time this season. He centered the third line between Leonard and Stefan Noesen.

Blues defenseman Niko Mikkola saw his first action of the season, filling in for Marco Scandella. Mikkola was paired with Carl Gunnarsson, who made his season debut on Monday for Robert Bortuzzo, who was placed on injured reserve with an upper-body injury.

WELCOME BACK

Blues forward Sammy Blais was back in the starting lineup after serving a two-game suspension for a hit on Colorado’s Devon Toews in the season opener. Blais took Kyle Clifford’s spot on the fourth line with Ivan Barbashev and Oskar Sundqvist.

WHAT’S NEXT

Sharks: Continue their season-opening, eight-game road trip by starting a two-game set at Minnesota on Friday night.

Blues: Continue their four-game homestand by hosting the Los Angeles Kings in the first of a two-game set Saturday night.

More AP NHL coverage: https://apnews.com/hub/NHL