BOSTON — Derek Stepan and Kevin Hayes scored short-handed goals, Antti Raanta made 35 saves and the surging New York Rangers beat the Boston Bruins 5-2 on Saturday night.

Pavel Buchnevich added a power-play goal, Stepan had two assists, and Michael Grabner and Nick Holden also scored for New York, which won its fourth straight game and seventh in the last eight.

David Pastrnak and Patrice Bergeron scored for the Bruins, who had won their last three games. Tuukka Rask made 19 saves in losing for the first time after winning his first six starts.

Trailing 1-0 in the first, the Rangers tied it when Holden fired a seemingly harmless dump-in shot from the right point that appeared to hit the glove of Boston center David Krejci and dipped before going into the net.

New York made it 2-1 on Stepan’s goal late in the period as he broke in alone after taking a pass from Grabner. Rask poked the puck off his stick, but it caromed off both of the winger’s skates and slid into the net.

Seconds after Boston defenseman Torey Krug misfired at an open side of the net, Hayes scored on a three-on-one break at 2:18 of the second, slipping a shot under Rask’s right pad.

The Rangers also had a two-on-none short-handed bid seconds later, but Rask turned aside the chance.

Raanta kept it a two-goal edge, making two right-pad stops on Krejci’s shots from the top of the crease late in the second.

Referee Dean Morton had to be helped off the ice in the second after taking a puck off the back of the head on a clearing shot from Rangers defenseman Kevin Klein. Morton was taken for evaluation and didn’t return.

The Bruins had moved ahead when Bergeron one-timed Brad Marchand’s pass 3:44 into the game.

CANADIENS 5, FLYERS 4: Tomas Plekanec scored a short-handed goal in the third period to lift Montreal to a win at home.

Andrei Markov, Greg Pateryn, Alex Galchenyuk and Phillip Danault also scored for Montreal (10-1-1) while Carey Price stopped 34 of 38 shots as the Canadiens rebounded from a 10-0 loss to Columbus on Friday.

CAPITALS 4, PANTHERS 2: T.J. Oshie scored twice, including the winner during a third-period flurry, as host Washington won its fifth straight.

Oshie, Alex Ovechkin and Lars Eller scored three goals on five shots in less than five minutes as the Capitals finally cracked Florida goaltender Roberto Luongo (32 saves).

LIGHTNING 4, DEVILS 1: Victor Hedman and Nikita Kucherov each had a goal and an assist, Brayden Point scored his first NHL goal and Tampa Bay won at home.

Brian Boyle also scored for Tampa Bay, and Ben Bishop made 37 saves.

BLACKHAWKS 3, STARS 2: Patrick Kane scored the go-ahead goal and assisted on another, and Chicago won at Dallas.

Chicago erased a 2-1 deficit with second-period goals by Ryan Hartman at 2:59 and Kane on the power play at 7:40.

OILERS 4, ISLANDERS 3: Mark Letestu scored the only goal in the shootout to lift Edmonton at New York.

Patrick Maroon, Leon Draisaitl and Milan Lucic scored in regulation for the Oilers. Cam Talbot made 30 saves.

SABRES 2, SENATORS 1: Kyle Okposo and Sam Reinhart scored in the third period as Buffalo rallied to a win at Ottawa.

Robin Lehner made 32 saves for his first win against his former team.

BLUES 2, BLUE JACKETS 1: Jay Bouwmeester tied it in early the third period and Vladimir Tarasenko scored the winner late in overtime to lift St. Louis to a victory at home.

AVALANCHE 1, WILD 0: Gabriel Landeskog scored with 9:37 remaining, Calvin Pickard stopped 32 shots for his second NHL shutout and Colorado won in Denver.

MAPLE LEAFS 6, CANUCKS 3: Tyler Bozak scored twice and had an assist to help host Toronto beat Vancouver for the Canucks’ eighth straight loss.