SAN ANTONIO -- After struggling on a recent road trip, the San Antonio Spurs' improved defensive effort has helped them get some wins.
DeMar DeRozan had 24 points and LaMarcus Aldridge added 22 as the Spurs withstood Denver's closing rally to hold on for a 104-103 victory over the Nuggets on Monday night.
San Antonio won its third straight, limiting the opposition to 99 points in those games after losing seven of eight on their annual Rodeo Road Trip.
"It almost seems like we've just been able to flip a switch, which isn't the easiest thing to do," Spurs guard Patty Mills said, "but we have in the last three games. It's been our defense that has won it for us."
Denver rallied from 21 points down and held San Antonio scoreless over the final 2 1/2 minutes, getting the final nine points to pull within one, but missed three shots and had a turnover in the final 16.2 seconds.
"We hit back, but it was a little too much to overcome," Nuggets guard Jamal Murray said.
Murray missed a 3-pointer with 16.2 seconds and a runner 5 seconds later but the Nuggets maintained possession as Spurs forward Rudy Gay tipped the ball out of bounds both times. Aldridge then slapped Nikola Jokic's pass down and Gay was fouled after capturing the loose ball.
Gay missed the ensuing free throws with 4 seconds remaining. After San Antonio committed a foul on the initial inbounds, Denver guard Gary Harris missed a turnaround 3-pointer over Patty Mills from the left corner off a broken play as time expired.
"You've got to give them their respect, they hit some really tough shots," Gay said. "Jokic found his shooters and they hit some really tough shots (and) most were contested."
The Nuggets suffered their 13th straight loss in San Antonio.
Murray finished with 25 points and Jokic had with 22 points and 10 rebounds for Denver in its third straight loss. Harris had eight points on 3-for-9 shooting.
Denver fell two games behind Golden State for the best record in the Western Conference.
"This is good for us," Nuggets coach Michael Malone said. "As much as we hate to go through it, losing three in a row, this kind of failure, if we're willing to learn from it, can be a positive. Let's see what kind of fight we have, let's see what kind of resolve we have."
San Antonio began the night in eighth place in the West — one-half game behind the Los Angeles Clippers, who were playing the Lakers.
Coming off a win over Oklahoma City on Saturday, the Spurs have beaten two of the top three teams in the West in consecutive games.
This matchup was a possible playoff preview, but San Antonio is still fighting to make the postseason.
"We've got to have it to get to the playoffs," said Spurs point guard Derrick White, who had 11 points and a career-high nine assists. "That was more important than future matchups."
Denver trailed by double digits throughout the second quarter but cut the advantage to three points midway through the third. The Nuggets limited the Spurs to 4-for-10 shooting in the opening 6 minutes of the second half to start rallying.
The built a 36-17 lead to match their largest advantage after the opening quarter.
"We lost the game in that quarter in my opinion," Malone said.
Harris played in his sixth game and made just his second start since missing four games with a groin injury.
He finished 3 for 9 from the field while scoring eight points in 27 minutes.
Denver is hoping Harris can regain the consistency that helped him score 13.9 points per game prior to the injury.
"I think for me, I have to constantly remind myself that Gary Harris is still trying to find a rhythm in that starting lineup and a rhythm overall," Malone said. "We've got to find ways to help him get going."
Nuggets: Denver's last win in San Antonio was March 4, 2012. The Nuggets are 19-75 on the road against the Spurs. ... Denver scored 17 points in the first quarter, which is 12.5 points below their season average for the opening period. ... Trey Lyles missed his sixth straight game with a strained left hamstring.
Spurs: San Antonio extended its streak of 25-plus wins at home to 20 seasons with Monday's victory. . Aldridge has 117 career 3-pointers, hitting his sixth of the season in this game. He averaged 25 3s the past two seasons. ... DeRozan picked up his eighth technical foul, matching last season's total, after arguing and flailing his hands at official Scott Wall over a non-call in the first half. ... The Spurs' 19-point lead after the first quarter matched their largest lead after the opening period this season, which they set against Toronto on Jan. 3.
Nuggets: At Los Angeles Lakers on Wednesday night.
Spurs: At Atlanta on Wednesday night.
More AP NBA: www.apnews.com/NBA and www.twitter.com/AP—Sports