SAN ANTONIO — Instead of watching their season-opening winning streak come to a messy end, the New York Knicks served notice that they can't be counted out in the fourth quarter.
Raymond Felton scored 25 points and New York stayed undefeated by rallying late to beat the San Antonio Spurs 104-100 on Thursday night.
Trailing by 12 with 7 minutes left in the game, the Knicks (6-0) closed on a 22-11 run to remain the NBA's only unbeaten team.
"It shows me that this team is for real," New York coach Mike Woodson said. "We beat a great team tonight — a well-coached team. It's the first time I've ever won in San Antonio, so I feel pretty good about that. It's tough to win here."
J.R. Smith added 17 points, Jason Kidd had 14 and Tyson Chandler 13 for the Knicks, who snapped a nine-game skid in San Antonio. Felton, Smith and Kidd alone outscored the Spurs 26-25 in the fourth.
Tony Parker led San Antonio (7-2) with 19 points and 12 assists. Kawhi Leonard added 16 points and Tim Duncan had 14 points and 14 rebounds.
San Antonio grabbed its largest lead at 89-77 with 7:14 remaining when Tiago Splitter's free throw completed a three-point play. That capped a 13-point run by Splitter in the fourth after he failed to score while playing just a few minutes through the first three periods.
"He had some great minutes in there," Duncan said. "He got himself rolling there for a little while and kind of got us on the board."
Woodson called a timeout before Splitter shot the free throw, and the chaos that ensued was exactly what the Knicks needed.
"I called one timeout, and it was kind of disarray in the timeout," Woodson said. "I was screaming and they were screaming, but we were still in the game."
Kidd then sparked the rally with a pair of 3-pointers that pulled the Knicks to 89-85 with 5:49 remaining.
San Antonio missed seven of its last nine shots and had two turnovers in the final 2 minutes. The Spurs had won 18 of 19 regular-season games against New York.
Heat 98, Nuggets 93
At Denver, LeBron James had 27 points and 12 assists, and the short-handed Miami Heat ended a decade-long drought in Denver with a win over the Nuggets.
Shane Battier added 18 points — all on 3-pointers — in the Heat's first win at Denver since Jan. 29, 2002, a streak of 10 straight losses. Every other NBA team has won at the Pepsi Center during that span.
The Heat nearly blew a 19-point second-half lead but held on despite being without Dwyane Wade (foot) and Mario Chalmers, who went to the bench after just 71/2; minutes with a strained right triceps.
Nets 102, Celtics 97
At New York, Joe Johnson made the tiebreaking basket with 3:03 left, Deron Williams and Brook Lopez each scored 24 points, and Brooklyn won its fourth straight.
Williams had eight assists and made all nine free throws on a night Paul Pierce had two huge misses in the final minute for the Celtics, who played without injured point guard Rajon Rondo.
Johnson finished with 19 points and eight rebounds for the Nets in front of a sold-out crowd of 17,732.
Pierce scored 22 points and Leandro Barbosa had 17 in place of Rondo, who was out with a sprained right ankle. Kevin Garnett added 14 points but Boston had its three-game win streak snapped and lost to the Nets for just the third time in 21 meetings.