SAN JOSE, Calif. - Joel Ward had a hat trick to help the San Jose Sharks end a three-game losing streak with a 5-2 victory over the Carolina Hurricanes on Saturday night.

Joe Pavelski and Tommy Wingels also scored for the Sharks, who have not had a power-play goal in five consecutive games and are 0 for 11 with the man advantage in that span.

The game drew 15,814 fans — the Sharks' lowest attendance in nine years.

Justin Faulk and Riley Nash scored for the Hurricanes, who are in the middle of a seven-game road trip.

Martin Jones stopped 32 shots for the victory.

Carolina's Eddie Lack allowed four goals on 13 shots before Cam Ward replaced him midway through the second period and stopped all seven shots he faced.

Ward scored San Jose's fastest goal of the season, 81 seconds into the game. He knocked in a loose puck in front of the net after Tomas Hertl's shot and Patrick Marleau's follow bounced off Lack's pads.

Ward scored again seven minutes later, beating Lack to the top left shelf in a 1-on-1 encounter.

Faulk scored on a power play, just the Hurricanes' third of the season, matching the Sharks. A series of crisp passes, the last by Nathan Gerbe, gave Faulk a good look.

Pavelski took advantage of an errant shot by Marc-Edouard Vlasic that bounced off the glass and back in front of the net to poke it through an opening.

Wingels was able to tip in a rebound to end Lack's night.

Nash, who missed the last five games, scored with an assist from Noah Hanifan.

Ward completed the hat trick in the final minute with an empty-net goal.

NOTES: Ward's first goal gave him 100 for his career. ... D Brett Pesce made his NHL debut for the Hurricanes. ... Carolina C Andrej Nestrasil was a scratch one day after leaving the Hurricanes game against the Los Angeles Kings in the second period when he was hit on the inside of his leg by a slap shot. ... San Jose D Paul Martin returned to the lineup after missing three games with a lower body injury. ... The Sharks recalled F John McCarthy from the AHL.