BOSTON -- Andrei Markov tied it with 8.2 seconds left in regulation, and Brendan Gallagher scored the only shootout goal to give the Montreal Canadiens a 6-5 victory over the Boston Bruins on Wednesday night.
The victory snapped a tie for the second-most points in the Eastern Conference, giving the Canadiens 47. They lead the Northeast Division by a point over the Bruins.
In the shootout, all six Bruins players were stopped. The first five Canadiens couldn't score, either. Then Gallagher put the puck between Tuukka Rask's pads.
It capped a comeback after Boston had taken a 5-3 lead on Tyler Seguin's 11th goal of the season at 11:50 of the third period. Gallagher scored 28 seconds later, then Markov tied it on a power play.
Michael Ryder opened the scoring at 4:15 of the first period and P.K. Subban gave the Canadiens a 2-0 lead at 2:53 of the second. Then the Bruins, scored four goals in just over 14 minutes against goalie Carey Price. Dougie Hamilton started the comeback at 3:32 of the second, Brad Marchand tied it, Patrice Bergeron put Boston ahead and Nathan Horton made it 4-2 at 17:36 of the period.
Price was replaced by Peter Budaj to start the third period.
Ryder cut it 4-3 with his second goal of the game at 3:58 of the third period, but Seguin restored Boston's two-goal advantage.
WILD 4, COYOTES 3, OT
ST. PAUL, Minn. -- Mikko Koivu scored at 2:43 of overtime to give Minnesota a comeback victory over Phoenix on Wednesday night, extending the Wild's winning streak to seven and the Coyotes' skid to seven.
Koivu skated out from the corner and beat goalie Jason LaBarbera between the pads.
SHARKS 4, DUCKS 0
SAN JOSE, Calif. -- Joe Pavelski scored a minute into the game to start a three-goal first period spree and Antti Niemi earned his second shutout of the season to help San Jose sweep a home-and-home series against first-place Anaheim.
Tommy Wingels added a short-handed goal and two assists to get San Jose off to a strong start to a crucial seven-game homestand. The Sharks moved into a tie for seventh place with St. Louis in the Western Conference.
The Ducks followed up a 5-3 home loss to the Sharks by coming out completely flat in the return game. Anaheim has lost four straight games in regulation following a 12-game streak with at least one point. This is the Ducks' longest skid since Bruce Boudreau took over as coach Nov. 30, 2011.
Copyright 2013 by The Associated Press
This story is from ESPN.com's automated news wire. Wire index
MORE NHL HEADLINES
- Bruins add NHL vet Sacco to coaching staff
- Eller agrees to 4-year deal with Canadiens
- Avalanche announce 2-year deal for O'Reilly
- Islanders, Poulin agree to one-year contract