GLENDALE, Ariz. -- With the Montreal Canadiens struggling for wins and goals, forward Max Pacioretty provided the offense to end the team's longest losing streak -- and goalless streak -- of the season.
Pacioretty had two goals and two assists and set up Alex Galchenyuk for the game-winner 2:13 into overtime, and the Canadiens ended a four-game losing streak with a 5-4 win against the Arizona Coyotes at Gila River Arena on Thursday.
"To come back and show character after going down, to come back and win … that was an emotional game and kind of what we need to jump-start something," said Pacioretty, who has 27 goals this season, six in the past six games.
WATCH: All Canadiens vs. Coyotes highlights
"We found a way to regroup after the second period and we showed a lot of character. If we had lost this game we would have really felt it. It was good to see everyone rewarded."
The Canadiens had been shut out in back-to-back games for the first time since March 24-26, 2011, but their goalless streak of 137:11 ended 57 seconds into the game when Pacioretty scored his 200th NHL goal on a quick snap shot.
"Max was a true leader and a true captain tonight," coach Michel Therrien said. "He played a hell of a game and deserves a lot of credit for that win."
Andrei Markov had a goal and an assist and Jeff Petry and Phillip Danault each had two assists for Montreal (31-17-8), which scored three goals during their four losses. Carey Price made 21 saves and improved to 9-0-0 against Arizona.
Video: MTL@ARI: Galchenyuk rips OT winner past Smith
Christian Dvorak had his first two-goal game and Max Domi had a goal and an assist for Arizona (17-28-7), who scored three goals in the second period to erase a 2-0 deficit but couldn't hold the lead. Mike Smith made 35 saves.
"That was not even close," Coyotes coach Dave Tippett said. "We didn't have enough guys play well enough to win. When you don't deserve to win, you don't win games very often."
The bright spot was Domi, who had two points in his third game after missing almost two months following hand surgery.
"It was the first time since he's come back that he really had his skating legs," Tippett said. "We needed a few more players with skating legs."
Montreal made it 2-0 at 13:10 when Markov's shot deflected off the stick of Alex Goligoski and pinged in off the far post.
But the Coyotes rallied, scoring on the power play, even strength and shorthanded during a span of 2:21 of the second period to take the lead.
With the man-advantage, Dvorak took a Domi pass in stride and scored at 13:46. Domi tied the game playing 4-on-4 when he pushed the puck under Price and just over the line at 15:45. Twenty-two seconds later, Goligoski put a Jordan Martinook feed by Price to give Arizona a 3-2 lead.
"We've got to learn how to play with a lead," Domi said. "You have to take advantage and find a way to win. That last 20 minutes, we just came up short."
Pacioretty made it 3-3 with a power-play goal at 2:52 of the third, and he set up Alexander Radulov to put Montreal back in front 4-3 at 9:56.
But Dvorak won a race to the puck that Price tried to whack, and Price wound up kicking it into his own net at 15:08 to tie the score.
"We talked here in the locker room how we needed to get a win no matter what," Galchenyuk said. "It wasn't the perfect game but we got the win."
Goal of the game
Coyotes defenseman Michael Stone blocked Markov's shot but Pacioretty was there to knock home the rebound.
Video: MTL@ARI: Pacioretty buries PPG for second of game
Save of the game
Smith made a glove save on Radulov in the first period to keep Montreal from taking a three-goal lead.
Video: MTL@ARI: Smith robs Radulov on odd-man rush
Unsung performance of the game
Called up from St. John's of the American Hockey League on Wednesday, Canadiens forward Michael McCarron had an assist and won seven of 11 faceoffs.
Highlight of the game
With 7:52 left in the second period, Domi swatted his own deflected shot out of midair and on net, but Price made a glove save.
Video: MTL@ARI: Price robs Domi with a quick glove stop
They said it
"Our lack of discipline in the second period for six minutes put us in trouble. But we stayed positive and played a hell of a third period and we certainly deserved to win." -- Montreal coach Michel Therrien
Need to know
Shane Doan played in his 1,518th game, tying Ray Bourque for fourth place on the NHL list for most games played with one franchise. ... The Coyotes have scored at least three goals in seven of the past nine games.
Canadiens: Host the St. Louis Blues on Saturday (7 p.m. ET; NHLN, CITY, TVA Sports, FS-MW, NHL.TV)
Coyotes: Host the Pittsburgh Penguins on Saturday (8 p.m. ET; FS-A+, ROOT, NHL.TV)
Video: Pacioretty leads Habs to comeback OT victory