Bobby Ryan had a goal and an assist, Craig Anderson made 31 saves and the Ottawa Senators beat the San Jose Sharks 4-2 on Friday night for their fourth straight home win.

Ottawa has won just two of its past five games. Jean-Gabriel Pageau, Chris Wideman and Erik Karlsson also scored.

Joe Thornton and Brent Burns had the goals for the Sharks, and Alex Stalock made 31 saves.

Pageau started and finished the play that gave the Senators a 2-1 lead 8:22 into the third period. After Pageau's faceoff win, Cody Ceci took a shot, and then Dave Dziurzynski fired the rebound back at net. Stalock got a piece of Dziurzynski's shot but left the rebound right on the goal line for Pageau to poke in.

Wideman got the eventual winner and Karlsson provided some insurance with goals later in the period.