Manu Ginobili hit a fallaway jumper as time expired, lifting the San Antonio Spurs over the Milwaukee Bucks 92-90 on Wednesday night.
Ginobili scored the last of his 26 points on a 17-footer from the left elbow over the outstretched arm of Luc Mbah a Moute, who missed a shot that would have given Milwaukee the lead seconds earlier.
The Spurs improved their NBA-best record to 21-3 and stayed unbeaten against Eastern Conference teams. They also wrapped up a 6-0 homestand.
Chris Douglas-Roberts had 21 points and Drew Gooden added 20 for the Bucks.
Milwaukee couldn't pull off its second upset in a row after ending Dallas' 12-game winning streak Monday.
San Antonio led by double digits for most of the third, but Milwaukee went on a 12-4 run and Brandon Jennings hit a 3-pointer at the buzzer to cut the deficit to eight.
Gooden scored 13 of Milwaukee's first 17 points in the fourth and a tip-in off Jennings' miss to tie the game at 90 with 47 seconds left.
Andrew Bogut had two of his seven blocks on consecutive Spurs possessions late in the fourth, leading to Gooden's basket that tied it.
But Tim Duncan grabbed the rebound of Moute's miss and immediately called timeout to set up Ginobili's game-winner.
Ginobili scored the final six points for the Spurs.
Gooden opened the fourth with seven straight points, including a bank shot off Jennings' pass that helped spark Milwaukee's rally.
Duncan finished with 13 points and a season-high seven blocks, while Tony Parker scored 16 and Richard Jefferson added 11 points for San Antonio.
Jennings had a scare just before halftime, when he came down awkwardly on a layup attempt with Parker defending. The second-year guard immediately grabbed his left knee and was attended to on the Bucks' sideline, but he returned to start the third.
Ginobli led the charge in the opening quarter by scoring six points to help build a 17-6 lead that prompted Milwaukee coach Scott Skiles to call a timeout.
The Bucks managed to regroup, with Bogut hitting back-to-back shots to get Milwaukee back in rhythm. Douglas-Roberts hit a 3 and converted a three-point play to cut the San Antonio lead to 25-20 after the first quarter.
NOTES: Spurs F/C Tiago Splitter left in the third with a bruise on his right side. He is day-to-day.