TORONTO (AP) Jason Spezza stood up in the Toronto locker room in the wake of another disastrous start.

The veteran forward - potentially in the midst of a final Stanley Cup shot in his 19th NHL season - spoke about the margin for error getting smaller and smaller against two-time defending Stanley Cup champion Tampa Bay.

Toronto desperately needed to pick it up. And the team's big guns delivered a gutsy effort.

Auston Matthews scored the tiebreaking goal with 6:06 left in the third period and the Maple Leafs rallied from an early two-goal deficit to beat the Lightning 4-3 on Tuesday night and take a 3-2 lead in the first-round playoff series.

''Spezz really spoke well,'' said Toronto captain John Tavares. ''We obviously needed to find another level.''

William Nylander added a goal and two assists for Toronto, which is a victory away from advancing in the postseason for the first time since 2004. Tavares had a goal and assist, and Morgan Rielly also scored. Jack Campbell stopped 32 shots.

''He's a great leader,'' Nylander said of the 38-year-old Spezza, who saw less than six minutes of ice time.

''When he says something, everybody listens.''

Steven Stamkos, Victor Hedman and Ryan McDonagh scored, Nikita Kucherov had two assists and Andrei Vasilevskiy made 22 saves for the two-time defending Stanley Cup champion Lightning, who will try to avoid elimination in the best-of-seven series in Game 6 at home on Thursday night.

''We're not really making them earn it,'' Tampa head coach Jon Cooper said. ''We're kind of giving it to them.''

The Maple Leafs would certainly disagree after becoming the first team in the five games to come back after falling behind.

''The way the series has gone is that 2-0 has become four or five,'' Toronto head coach Sheldon Keefe said. ''We needed to flip that script.''

Game 7, if necessary, would be in Toronto on Saturday.

''It's a big win for us,'' Matthews said. ''But there's still some work to be done.''

Matthews snapped a 3-3 tie on a 2-on-1 rush in the third period. Mitch Marner fired a shot off Vasilevskiy's right pad and Matthews, ,who had 60 goals during the regular season, scored his third of the playoffs to ignite the raucous home crowd.

''Such a special player,'' Matthews said of Marner. ''Any time he's got the puck I just try to get open or try to anticipate it's coming to me.

''Just an unbelievable IQ play by him. I had the whole net to shoot at.''

Matthews celebrated by dropping to one knee before punching the air with a windmill celebration.

''Huge goal,'' Nylander said with a grin. ''Deserves a big celly.''

The Lightning pulled Vasilevskiy late and had a couple of chances, but iced the puck with 21.9 seconds left to force the 2021 Conn Smythe Trophy winner back into his crease.

Down 2-1 heading to the third, Toronto tied the score with the teams playing 4 on 4 at 3:01 when Tavares held onto the puck in the offensive zone before finding Rielly, who scored his first of the series.

The Leafs took their first lead when Nylander scored his third goal in the last two games on Vasilevskiy.

But the Lightning responded at 8:17, when McDonagh blasted a shot past Campbell, tying the game at 3 before Matthews won it.

The Maple Leafs were coming off a 7-3 loss to Tampa Bay in Game 4.

Toronto head coach Sheldon Keefe went with the same lineup for the third straight game. He shook up three of his team's four lines. That included splitting up Tavares and Nylander, while Michael Bunting returned to the top trio with Matthews and Marner.

Toronto got an early power play to continue the series' parade to the penalty box, but couldn't connect despite some good looks for Marner.

Stamkos made it 1-0 at 5:19 of the first. The Lightning then got their first man advantage when T.J. Brodie went off for hooking, and they went up by two at 6:11 when Hedman fired a shot that found its way through traffic.

Toronto killed off a 5-on-3 power play for 30 seconds later in the period thanks to some big stops from Campbell before Nylander broke in alone coming out of the box, only to be denied by Vasilevskiy.

Tampa Bay finished the period that included seven minor penalties with a 14-5 edge in shots.

''We had to stop taking penalties,'' Keefe said. ''And our power play had to do a better job.

''It really muddied the waters in terms of how we were actually playing and really couldn't allow us to get life and get going.''

The Lightning were whistled for their second infraction of the night for too many men on the ice early in the second, and Toronto broke through when Nylander fired a shot that went in off the skate of Tavares for the captain's first goal of the series.

The Leafs continued to push as the period wore on, with Vasilevskiy forced to make a number of huge saves.

Campbell had a much quieter period at the other end, but had to make a big stop on a Nick Paul breakaway after he stripped Morgan Rielly of the puck.

---

More AP NHL: https://apnews.com/hub/nhl and https://twitter.com/AP-Sports

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.