Zack Smith scored the go-ahead goal with 2:15 remaining and the Ottawa Senators kept their slim playoff hopes alive in Dion Phaneuf's return to Toronto, defeating the Maple Leafs 3-2 on Saturday night.

Smith re-directed Mark Stone's pass past Jonathan Bernier for his 17th of the season.

Ottawa (31-28-7) entered the night 12th in the Eastern Conference, seven points out of the final wild-card spot. The Senators have now won three straight against the Maple Leafs, and avoided a third straight loss overall.

Bobby Ryan and Marc Methot had the other goal for Ottawa, while Andrew Hammond picked up his fourth win of the season by making 41 saves.

Phaneuf, who spent parts of seven seasons with the Leafs, was honored with a video tribute during the first TV timeout in the first period. He was dealt to Ottawa on Feb. 9 as part of a nine-player trade. Moments after the video played, the former Leafs captain and Colin Greening — both in the deal — dropped the gloves and fought.

Rookies William Nylander and Nikita Soshnikov scored for the Maple Leafs.

Toronto led 2-1 after 40 minutes on Soshnikov's second of the season, but the Sens replied early in the third.

Methot tied it at 2 at 2:56 of the third, picking up the rebound off of Ryan Dzingel's shot and beating a screened Bernier for his fourth of the season.

Ryan opened the scoring, beating Bernier high to the glove side from the slot at 6:06 of the first after Matt Hunwick mishandled the loose puck off Nazem Kadri's faceoff win.

Nylander tied it at 9:27 of the opening period, picking up the loose puck off a scrambled faceoff win by Brooks Laich, beating Hammond to his blocker side for his first career NHL goal. The assist was Laich's first since being acquired by the Leafs on Feb. 28.

Laich also assisted on the final goal for Michael Nylander — father of William Nylander — on April 5, 2009, a 6-4 Washington Capitals victory over the Atlanta Thrashers.

Soshnikov gave Toronto a 2-1 lead on a power play at 12:10 of the second, beating Hammond short side for his second of the season.

NOTES: Senators D Mark Borowiecki missed his first game due to a right knee injury suffered Thursday night. As a result, Patrick Wiercioch returned to Ottawa's lineup after sitting out five games as a healthy scratch.