Tyrese Maxey scored seven points in the final 25 seconds of regulation to save Philadelphia’s season and finished with a playoff career-high 46 as the 76ers staved off elimination in their Eastern Conference first-round series with an unlikely 112-106 victory over the New York Knicks on Tuesday.

Down six with 28 seconds left in regulation, Maxey converted the rare four-point play with 25 seconds to play, and after Josh Hart’s free throw, hit a 35-foot 3-pointer to tie it at 97 with 8.1 seconds remaining in front of a stunned Madison Square Garden crowd.

Joel Embiid had 19 points, 16 rebounds, 10 assists and nine turnovers for the 76ers, who will host Game 6 on Thursday.

Maxey added nine assists and was 7 of 12 from 3-point range.

Brunson scored 40 points and Hart had 18 with nine rebounds for the Knicks, who were tantalisingly close to reaching the Eastern Conference semifinals for the second straight season.

Brunson scored the first five points of overtime but Maxey's 3 triggered a 9-0 run that Embiid capped with a 3-point play with 1:40 left for a 106-102 lead. Brunson tied it with a 3 but Kelly Oubre Jr. made the tiebreaking basket with 62 seconds to play, and Tobias Harris sealed it with two free throws.

Short-handed Bucks stay alive

Khris Middleton had 29 points and 12 rebounds and Bobby Portis added 29 with 10 boards as the Milwaukee Bucks stayed alive with a 115-92 win over the Indiana Pacers in Game 5 despite missing leading scorers Giannis Antetokounmpo and Damian Lillard.

Portis had the highest point total of his playoff career and made amends after he was ejected from a Game 4 loss. Middleton had his third straight game with at least 25 points.

Tyrese Haliburton scored 16 points and Myles Turner added 13 for the Pacers, who still lead the series 3-2 and will try to close it out at home in Game 6 on Thursday. Indiana hasn’t advanced past the first round since 2014.

The Bucks got a balanced effort without Antetokounmpo and Lillard, as every starter scored in double figures. Antetokounmpo has missed the entire series and hasn’t played since straining his left calf on April 9. Lillard sat out a second consecutive game after injuring his Achilles tendon in Game 3 on Friday.

Cavs edge Magic for 3-2 lead

Donovan Mitchell scored 28 points and Evan Mobley came up with a huge block in the final seconds to lift the Cleveland Cavaliers to a 104-103 win over the Orlando Magic to take a 3-2 lead in their Eastern Conference series.

After Mitchell missed a jumper with 15.7 seconds left, Franz Wagner drove the left side for a potential game-tying layup but was denied at the rim by Mobley with six seconds left.

Mitchell, who had 14 fourth-quarter points, was then fouled and made two free throws with 3.2 seconds remaining to up Cleveland’s lead to 104-100. Paolo Banchero made a 3-pointer in the final second for the final margin.

The Cavs bounced back at home after losing two road games and can finish off the Magic in Orlando in Game 6 on Friday.

Max Strus scored 16 points to help Cleveland offset the loss of starting center Jarrett Allen (bruised rib) and Mobley added 14 points and 13 rebounds.

Banchero scored 16 of his 39 points in the fourth quarter and grabbed eight rebounds, but the next closest Magic player was Wagner with 14 points.