Evander Kane became the first San Jose player to score three goals in the opening period of a game and the Sharks beat the Carolina Hurricanes 5-2 on Wednesday night for their third straight victory.

Kane opened the scoring at even strength and added two power-play goals in the first for his second career hat trick. The Sharks are hitting their stride after beginning the season with four straight losses.

Tomas Hertl had a goal and two assists and Barclay Goodrow also scored for San Jose. Martin Jones made 36 saves.

San Jose Sharks' Evander Kane (9) shoots against Carolina Hurricanes goalie James Reimer during the first period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

San Jose Sharks' Evander Kane (9) shoots against Carolina Hurricanes goalie James Reimer during the first period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

Dougie Hamilton and Erik Haula scored for the Hurricanes, who had won seven of their first eight games this season for the best start in franchise history. James Reimer stopped 17 shots.

The Hurricanes controlled play for much of the opening period, holding a 14-3 advantage in shots at one point despite having played the previous night in Los Angeles. But Jones came up with some key big saves early and Kane was the player who got most of the production.

He opened the scoring midway through the period when Erik Karlsson's point shot was blocked. Kane gathered the rebound and beat Reimer from the slot.

San Jose Sharks' Martin Jones blocks a shot from the Carolina Hurricanes during the second period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

San Jose Sharks' Martin Jones blocks a shot from the Carolina Hurricanes during the second period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

After Hamilton tied the game with his fifth goal of the season, Kane scored twice on the power play in the final three minutes of the period. His second goal was similar to the first as Brent Burns' point shot was blocked and Kane converted the rebound from the slot.

Then in the closing seconds of the period, Kane deflected a shot from Burns past Reimer to make it 3-1. The Sharks entered the game with only three power-play goals before converting both opportunities in the first period against Carolina.

Goodrow scored his third of the season when he forced a turnover in the neutral zone and skated in to beat Reimer.

San Jose Sharks' Barclay Goodrow is congratulated after scoring a goal against the Carolina Hurricanes during the second period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

San Jose Sharks' Barclay Goodrow is congratulated after scoring a goal against the Carolina Hurricanes during the second period of an NHL hockey game Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

The Sharks nearly added another goal late in the second when Lucas Wallmark's back pass on a delayed penalty hit the Carolina post after Reimer had been pulled for an extra attacker.

The Hurricanes were unable to convert on the ensuing power play or during 45 seconds of a two-man advantage when Goodrow was sent to the box for hooking.

NOTES: Kane's first hat trick came on March 17, 2018, when he scored four times at Calgary. ... Sharks forward Marcus Sorensen returned after missing three games with an upper-body injury. ... Carolina forward Sebastian Aho assisted on Hamilton's goal for the 200th point of his career. ... San Jose forward Timo Meier played his 200th career game.

San Jose Sharks' Marcus Sorensen, left, moves the puck during the first period of the team's NHL hockey game against the Carolina Hurricanes on Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

San Jose Sharks' Marcus Sorensen, left, moves the puck during the first period of the team's NHL hockey game against the Carolina Hurricanes on Wednesday, Oct. 16, 2019, in San Jose, Calif. (AP PhotoBen Margot)

UP NEXT

Hurricanes: Visit Anaheim on Friday night.

Sharks: Host Buffalo on Saturday night.

More AP NHL: https://apnews.com/NHL and https://twitter.com/AP_Sports