SAN ANTONIO (AP) - Aaron Gordon scored 26 points and the Orlando Magic held on to beat the San Antonio Spurs 117-110 on Sunday night after nearly blowing a 26-point lead with 9 minutes remaining.
D.J Augustin added 18 points for Orlando, which scored a season high and hit 12 3-pointers.
DeMar DeRozan had 25 points as San Antonio's four-game winning streak came to an end on the second night of a back-to-back.
Orlando snapped a four-game skid, but had to bring its starters back into the game to preserve the victory.
The Spurs went on a 25-6 run over 6 minutes to erase the Magic's 105-79 with 9:02 remaining.
Pau Gasol blocked and collected Gordon's shot and raced downcourt where he was fouled with 7 minutes remaining. Gasol's hustle led San Antonio coach Popovich to reinsert DeRozan, LaMarcus Aldridge, Patty Mills and Bryn Forbes back into the game despite Orlando leading by 18 points.
The Spurs responded with a 9-2 run to pull within 107-96 with 5:28 remaining and forced Magic coach Steve Clifford to take a timeout to slow the momentum.
Clifford was forced to take another timeout 2 1/2 minutes later when Bryn Forbes' 3-pointer cut Orlando's lead to 111-104.
The Magic were able to hang on, preserving their best offensive production of the season.
Orlando had lost four straight, including failing to score 100 points in three consecutive games, but jumped out to an early lead.
San Antonio's worst defensive effort of the season came less than 24 hours after their finest in a 109-95 victory against New Orleans.
Mills finished with 16 points and Aldridge added 14 for San Antonio.
Magic: Orlando entered the game last in the league in scoring at 99.9 points per game as well as field goal percentage at 41.4. ... Jonathon Simmons received a warm ovation upon entering the game late in the first quarter. Simmons, who was listed as questionabl with bruised right wrist, had no points in 18 minutes. ... Jonathan Isaac did not play due to a sprained right ankle. ... Timofey Mozgov missed the game with sore right knee.
Spurs: Rudy Gay missed his first game of the season, sitting out due to right heel soreness. ... Jakob Poeltl played 14 minutes, including starting the second half. It was the most minutes Poeltl has played since logging 13 minutes against Indiana on Oct. 24.
Magic: Host Cleveland on Monday night.
Spurs: At Miami on Wednesday night.