OTTAWA, Ontario (AP) — Bobby Ryan and Chris Wideman had power-play goals, Erik Karlsson also scored and the Ottawa Senators beat the Vancouver Canucks 3-2 on Thursday night.

Andrew Hammond made 33 saves to help Ottawa snap a two-game losing streak and get its first regulation win on home ice this season.

Sven Baertschi and Alexander Edler scored and Ryan Miller made 22 saves for Vancouver. The Canucks were playing the fourth of a seven-game road trip.

The Senators had one of their better third periods of late and were able to hold off the Canucks in front of a sellout crowd of 19,229.

Wideman's goal put Ottawa ahead 3-1 with 1:55 left in the third period. The cushion proved necessary after Edler scored with 23.9 seconds left.

Karlsson put the Senators ahead with 6 minutes left in the second period. He jumped into a play and beat Miller through the legs.