Justin Williams, Jonathan Quick lead LA Kings past San Jose Sharks 2-1 in Game 7

Los Angeles Kings right wing Justin Williams celebrates after scoring a goal against the San Jose Sharks during the second period in Game 7 of the Western Conference semifinals in the NHL hockey Stanley Cup playoffs, Tuesday, May 28, 2013, in Los Angeles. (AP Photo/Mark J. Terrill) (The Associated Press)

Los Angeles Kings goalie Jonathan Quick blocks a shot against the San Jose Sharks during the second period in Game 7 of the Western Conference semifinals in the NHL hockey Stanley Cup playoffs, Tuesday, May 28, 2013, in Los Angeles. (AP Photo/Mark J. Terrill) (The Associated Press)

Justin Williams scored two goals in the second period, and the Los Angeles Kings advanced to the Western Conference finals with a 2-1 victory over the San Jose Sharks in Game 7 on Tuesday night.

Jonathan Quick made 25 saves as the defending Stanley Cup champions finished off this agonizingly even series with their 14th consecutive home victory over the past two months, including seven straight in the postseason.

The home team won all seven games in this thrilling all-California series, and the fifth-seeded Kings barely rode their home-ice advantage to victory in their first potential elimination game in the last two years.

Antti Niemi stopped 16 shots, and Dan Boyle scored early in the third period for the Sharks, who fell just short of their third trip to the conference finals in four years.