Keldon Johnson scored on a contested layup after a steal with 1.2 seconds remaining to give the Spurs their only lead of the game and San Antonio rallied for a stunning 115-114 win over the Phoenix Suns on Tuesday.
The Suns led by as many as 13 in the fourth quarter, but the Spurs closed to within 114-113 after Victor Wembanyama scored four straight points.
Johnson then stole the ball from Kevin Durant and put in a layup to put San Antonio on top.
Durant missed a fadeaway as the buzzer sounded to give the Spurs their first win against the Suns in the past 10 meetings.
Johnson finished with 27 points and Devin Vassell and Wembanyama each added 18 for San Antonio, which outscored Phoenix 33-19 in the fourth quarter.
Durant scored 26 points and Eric Gordon had 20 for a Phoenix team that was again without the injured starting backcourt of Devin Booker and Bradley Beal.
Knicks handle undermanned Cavaliers
The New York Knicks got 19 points and 10 rebounds from Julius Randle and never trailed over the final three quarters in a 109-91 win over the short-handed Cleveland Cavaliers.
Jalen Brunson scored 19 points and Immanuel Quickley added 18 off the bench to help the Knicks win the first half of a home-and-home series.
Donovan Mitchell had 26 points in 29 minutes for the Cavaliers, who lost their third straight and fell to 0-3 at home.
Cleveland was without point guard Darius Garland (left hamstring strain), center Jarrett Allen (left ankle bone bruise), top reserve Caris LeVert (left hamstring soreness) and backup guard Ty Jerome (right ankle sprain).