Kristaps Porzingis of the New York Knicks blocks a shot by Kawhi Leonard of the San Antonio Spurs in the fourth quarter, at Madison Square Garden in New York, on February 12, 2017
A victory over the second-best team in the NBA was a welcome change of fortune for the Knicks, who are languishing well out of playoff contention in the Eastern Conference amid tensions between Anthony and club president Phil Jackson.
A feud between owner James Dolan and popular ex-Knick Charles Oakley also boiled over in ugly fashion on Wednesday.
Anthony said he was doing his best to ignore the noise.
"I'm out here playing basketball, trying to enjoy the game of basketball," he said. "Whatever happens outside the basketball court does not concern me."
Instead, Anthony said, he and his teammates were focused on delivering the kind of consistent performance they've had trouble sustaining through four quarters this season.
Anthony scored 25 points and pulled down seven rebounds, Derrick Rose added 18 and Kristaps Porzingis contributed 16 with seven rebounds and four blocked shots to help the Knicks end a four-game skid.
New York came up big defensively, too, holding the Spurs to a season-low 36.3 percent shooting in the upset.
Kawhi Leonard paced the Spurs with 36 points and LaMarcus Aldridge added 15, but veteran point guard Tony Parker missed all three of his field goal attempts and finished with zero points and four assists in 31 minutes on the floor.
A jump shot from Leonard cut New York's lead to 88-86 with 1:43 to play, but Anthony responded with two straight baskets that rebuilt the Knicks's lead to 92-86 with 33 seconds remaining and the Spurs wouldn't get the deficit below four points the rest of the way.
Days after Dolan banned Oakley from Madison Square Garden -- where the fan favorite was arrested on Wednesday for resisting security personnel who tried to toss him from the arena -- support for Oakley was evident among fans, including filmmaker Spike Lee who sat courtside in an Oakley jersey.
Dolan sat Sunday next to Latrell Sprewell, another ex-Knick with whom he's feuded.
Sprewell called the Oakley incident "disappointing" in a courtside TV interview, saying it was time to "iron out" the situation "and get past it."
- Pistons fight back -
In Toronto, Kentavious Caldwell-Pope scored five of his 21 points in the final minute as the Detroit Pistons erased a 16-point fourth-quarter deficit to beat the Raptors 102-101.
Caldwell-Pope made a 16-foot jumper and followed it with a three-pointer with 13.2 seconds left to give the Pistons a one-point lead.
Toronto's DeMar DeRozan missed a fadeaway jumpshot as time expired.
The Raptors, fourth in the Eastern Conference, lost for the 10th time in 14 games.
Andrew Wiggins scored 27 points and Karl-Anthony Towns contributed 22 as the Minnesota Timberwolves rolled past the injury-depleted Chicago Bulls 117-89 in Minneapolis.
The Bulls were without starters Jimmy Butler and Dwyane Wade as well as backups Nikola Mirotic and Paul Zipser.
The Timberwolves, who had lost five of their previous six games, took full advantage to give coach Tom Thibodeau a sweep of the season series against his former team.
In Sacramento, DeMarcus Cousins scored 28 points, grabbed 14 rebounds and handed out 17 assists in the Kings's 105-99 win over the New Orleans Pelicans.
Cousins was also whistled for his 17th technical foul of the season, for an elbow thrown in the first quarter that appeared to be inadvertent. Cousins, who has already served a one-game ban for amassing 16 technicals, will be suspended another game for an 18th tech.
Pelicans rookie Buddy Hield was ejected for the first time in his NBA career after he was assessed a flagrant foul for hitting Cousins in the groin in the second quarter.