SAN ANTONIO (AP) -- Manu Ginobili hit a 3-pointer with 5 seconds remaining and the San Antonio Spurs overcame Kyrie Irving's 36-point effort to beat Boston 105-102 on Friday night, snapping the Celtics' four-game winning streak.
Ginobili set up the winning basket by sneaking into the paint for an offensive rebound with 25 seconds left.
LaMarcus Aldridge had 27 points and 10 rebounds for San Antonio.
Irving, who scored a career-high 57 points against San Antonio in 2015 while with Cleveland, created havoc again at the AT&T Center. Irving finished 13 for 21, including 6 for 10 on 3-pointers, but missed his final two 3s. His final 3-pointer rattled in and out as the buzzer sounded.
The Spurs, already without Kawhi Leonard and Kyle Anderson, lost Danny Green in the first half. Green left with tightness in his left groin. There was no update on the severity of the injury.
Pau Gasol had 14 points and 11 rebounds, Rudy Gay had 15 points, and Tony Parker added 11 for the Spurs. The Spurs are undefeated with Parker in the lineup through six games.
San Antonio held Boston to one field goal in the opening four minutes of the final quarter to erase a five-point deficit to set up the last-second dramatics.
Jayson Tatum had 20 points, and Jaylen Brown added 15 for the Celtics.
Boston scored the game's first 11 points, prompting San Antonio coach Gregg Popovich to call a timeout and make mass substitutions during the run. Irving hit two more 3-pointers after the initial run, and Popovich drew a technical foul.
The Spurs' first lead on a fallaway 3-pointer by Ginobili at the close of the first half for a 56-55 advantage.
Brown had 10 points in the third, including two monstrous dunks late in the quarter that awed the crowd.
Celtics: Forward Marcus Morris was listed as questionable while rehabilitating his left knee, but felt comfortable enough during pre-game warmups to play. Morris finished with five points in 25 minutes after being listed. … Boston suffered its first loss to a Western Conference after winning eight straight. … The Celtics are 10-3 on the road, trailing only Houston (11-1) and Golden State (11-3) for the league's best road record.
Spurs: Popovich would not confirm a report by the San Antonio Express-News that Leonard will make his season debut Saturday in Phoenix. "Sooner rather than later," Popovich said, repeating the answer he has given all season about the All-Star forward's return. … Parker has played 36,000 career minutes as a starter, 24th in league history. … Ginobili has played 26,000 minutes in his career, all with the Spurs, the fourth most in franchise history behind Tim Duncan, Parker and David Robinson. … Green has 500 steals and 401 blocks in his career. Green, LeBron James and Kevin Durant are the only players since 2009 with 500 steals, 400 blocks and 800 3-pointers.
Celtics: Visit Detroit on Sunday night in a battle between two of the top four records in the Eastern Conference.
Spurs: Visit Phoenix on Saturday night in what could be Leonard's season debut.