The Montreal Canadiens held off the Toronto Maple Leafs for a badly needed 3-2 win via shootout Saturday night, ending a five-game winless stretch.

Max Pacioretty and Lars Eller scored for the Habs in the five-round shootout. Peter Holland had the lone Toronto success in the shootout which followed an action-packed overtime that saw both teams with chances to end it.

Toronto's Josh Leivo was penalized with 3:06 remaining in the third period for delay of the game when he took a swing at the puck with his stick and knocked it over the glass. But Montreal could not capitalize, its power play 0 for 4 in regulation time.

After a dire first-period that saw them fall behind 2-0, the Maple Leafs rallied in the second to cut the lead to 2-1. And they tied it up at 4:37 of the third period when Joffrey Lupul put away a rebound of a Holland shot that Mike Condon could not hang onto. It was his 11th of the season.

Nazem Kadri also scored for Toronto (17-20-9). Morgan Rielly had two assists in his 200th NHL game.

David Desharnais and Tomas Fleischmann scored for Montreal (24-20-4), which outshot Toronto 26-15 in regulation play.