Immanuel Quickley scored a career-high 38 points, playing 55 minutes in place of injured starter Jalen Brunson, and the New York Knicks outlasted the Boston Celtics 131-129 in two overtimes Sunday night for their season-high ninth straight victory.

Quickley had seven points in the second overtime and added eight rebounds and seven assists with Brunson sidelined because of soreness in his left foot.

"It was a huge performance by him," Knicks coach Tom Thibodeau said. "I was going to give him rest at the start of the fourth, but then he knocked down a couple of shots and I thought the game was in the balance right there."

Julius Randle had 31 points and nine rebounds, and RJ Barrett finished with 29 points and 11 boards for the Knicks, who held on when Boston's Al Horford front-rimmed a 3-pointer from the right corner just before the final buzzer.

"I just think I rushed it a little bit," Horford said. "I felt like I didn't stay with my shot long enough."

Jayson Tatum led Boston with 40 points, 11 rebounds and six assists, Jaylen Brown scored 29 points and Horford finished with 20 points and 14 rebounds.

Boston, which owned the NBA's best record for much of the season, has dropped three of four and is a 1 1/2 games behind Milwaukee for the Eastern Conference's top spot.

"We've just got to get our swagger back," Celtics guard Derrick White said. "Find a way to play with each other, have fun out there. I'm sure we'll get it back here soon."

Randle had 43 points in a victory at Miami on Friday that included an off-balance, game-winning 3-pointer in the closing seconds.

The Celtics were also missing a couple of key players in starting center Robert Williams III (left hamstring tightness) and reserve guard Malcolm Brogdon (right ankle soreness).

Quickley scored New York's first seven points of the second overtime on a 3-pointer and two driving baskets, skipping in front of Boston's bench celebrating after the last basket made it 128-123.

"When I laid it up, it was still rolling around, so I kind of skipped it, willed it in," he said, smiling when explaining his last basket. "I just kept skipping down the floor. I was having fun, though."

Horford nailed a 3-pointer from the right corner with 29.2 seconds left to push Boston ahead 121-119 in the first OT after Randle's two free throws had moved the Knicks in front.

But Quickley's driving one-handed flip in the lane tied it before Tatum missed on his baseline drive, sending it to double OT.

"You celebrate the team and you celebrate winning," Thibodeau said of Quickley's dancing, at times, after key baskets. "I want our team to have fun, I want them to have joy, but I don't want it to get lost and I don't want it to get twisted."

Brown's three-point play with 12.9 seconds left sent it to overtime.

Coming off an embarrassing home loss in their last game when they blew a 28-point lead against Brooklyn, the Celtics had opened a 14-point edge midway into the third quarter. The Knicks closed the quarter with a 9-0 surge and pushed their advantage to 100-89 on Obi Toppin's driving layup early in the final quarter.

BAD EXAMPLE

Randle was whistled for a technical by referee Brett Nansel when he was showing what happened after being called for an offensive foul. The problem was he used his left shoulder to bump into Nansel's chest as he was explaining it.

TIP-INS

Knicks: Quickley hit a 3 for the game's first basket, raising his fingers in celebration. . Brunson was the Eastern Conference's player of the month for February, averaging 27.3 points, six assists and shooting 52.9%.

Celtics: Coach Joe Mazzulla said Williams could be out "seven to 10 days." . Tatum was ejected with two technical fouls in the teams' last meeting, a 109-94 loss in New York.

UP NEXT

Knicks: Host the Charlotte Hornets on Tuesday. Celtics: At the Cleveland Cavaliers Monday.

More From 92.9 The Ticket