Danilo Gallinari scored a season-high 28 points, outlasting Tim Duncan down the stretch and leading the Nuggets over the San Antonio Spurs 112-106 on Tuesday night in Denver.

Duncan had 31 points - also a season best - to go along with 18 rebounds for the Spurs, who closed a 15-point lead to three with 3:38 left before the Nuggets closed it out for their third straight win.

Manu Ginobili scored 16 points for the Spurs, who have lost four of their last five.

San Antonio trailed 98-83 before charging back. Former St. Mary's player Patty Mills hit two three-pointers, Duncan scored eight points and Tony Parker hit a three to pull the Spurs to 105-102.

Gallinari responded with a three-pointer from the wing and Andre Miller hit a floater to stretch the lead to 110-102 a minute later.

Two free throws by Duncan and a basket by Ginobili made it 110-106 with 53 seconds left. A turnover by Denver gave the Spurs a chance but they missed three straight three-pointers in the final 24 seconds.

Kenneth Faried had 19 points and 11 rebounds for Denver.

The Spurs trailed 82-69 in the third quarter when they started fouling JaVale McGee to put him on the line. The strategy appeared to pay off when McGee made just 2 of 8 free throws but San Antonio missed five shots and Denver was able to take a 90-75 lead into the fourth.

Kobe Bryant scored four of his 30 points in the final 1:26 and host Los Angeles overcame an 18-point third-quarter deficit to hand Charlotte its 12th straight loss. ... Jodie Meeks and Metta World Peace each had 17 points for the Lakers, who won their third straight to match their longest winning streak of the season. ... Pau Gasol, back after missing eight games with tendinitis in both knees, had 10 points and nine rebounds in 30 minutes and shot 3 for 10. ... Kemba Walker led Charlotte with 28 points. ... The Warriors host both teams this weekend; the Bobcats on Friday and the Lakers on Saturday.

Hawks 100, Wizards 95:

Lou Williams scored a season-high 24 points and Josh Smith had 17 points and 13 rebounds to lead visiting Atlanta to a victory in overtime. ... Although Washington is 3-19, the Wizards have only lost four games by more than 10 points, and on Tuesday went to overtime for a fourth time this season, losing each time. ... Jordan Crawford had 27 points, 11 rebounds and 11 assists for the Wizards' first triple-double since his on April 1, 2011.

Raptors 113, Cavaliers 99:

Jose Calderon scored a season-high 23 points and Toronto snapped an 11-game skid on the road, winning away from home for the first time since Nov. 13. Toronto is 2-14 on the road. ... Reigning Rookie of the Year Kyrie Irving, coming off a career-high 41 points Saturday, scored 23 points for Cleveland.

Jazz 92, Nets 90:

Mo Williams scored 19 points and Al Jefferson had 16 points and 11 rebounds for visiting Utah, which nearly threw away the victory. ... The Jazz turned it over on two inbounds passes in the final 31 seconds.

Heat 103, Timberwolves 92:

Dwyane Wade scored 24 points, LeBron James added 22 points and 11 assists and host Miami survived a huge rebounding differential to win. ... The Heat gave up 21 of the game's first 24 rebounds and wound up getting beaten 52-24 on the boards. ... Andrei Kirilenko scored 22 for Minnesota, which played without guard Ricky Rubio, who's being eased back after recovering from knee surgery.

Bulls 100, Celtics 89:

Luol Deng and Carlos Boozer scored 21 points apiece and Joakim Noah had a triple-double for host Chicago. ... Noah had 11 points, 13 rebounds and a career high-tying 10 assists for his second career triple-double.

Mavericks 107, 76ers 100:

O.J. Mayo scored 26 points and Chris Kaman 20, combining for 17 of host Dallas' final 19 points as the Mavs snapped a three-game skid and won at home against the 76ers for the seventh straight time.

Bucks 98, Pacers 93:

Brandon Jennings scored 13 of his 34 points in the fourth quarter and Monta Ellis had 19 points for host Milwaukee.