Tony Parker scored 30 points and the Spurs finally won a close finish in San Antonio, beating the Golden State Warriors 107-106 on Tuesday night.

Roger Mason scored 24 and sank the go-ahead jumper with 23.8 seconds left as the Spurs dodged a rare three-game skid after last-minute losses against Boston and Houston last week.

The Spurs didn't buckle down the stretch this time, but it was close. Monta Ellis had two chances to win it for Golden State but missed a jumper with 5.9 seconds left, then watched his running 3-pointer as time expired clank off the front of the rim.

Ellis led the Warriors with 27 points and Stephen Jackson had 18.

Tim Duncan scored 13 of his 21 points in the fourth quarter and had 10 rebounds for San Antonio, but was stripped with 33.9 seconds left and watched Kelenna Azubuike scoop up the loose ball and coast down for an easy layup.

That gave the Golden State a 106-105 lead, their first in nearly 6 minutes. But Mason took a handoff from Duncan the next time down, swept to the top of the key and drilled an 18-footer for the game-winner.

Azubuike finished with 13 for the Warriors, who have lost 17 of their last 19 road games. They have two more left on their four-game road swing with a stop in Dallas on Wednesday.

The Spurs gave up their longtime Southwest Division lead with a loss Sunday to Houston, but could move back atop the division should the Rockets lose later Tuesday to Utah.

The Spurs head to Atlanta on Wednesday and may face the Hawks without Duncan. Coach Gregg Popovich is trying to preserve his 32-year-old forward for the playoffs, and already sat out Duncan in a back-to-back games earlier this month.

He gave no indication Tuesday whether Duncan would play against Atlanta.

Golden State played again without Jamal Crawford, who missed his fourth straight game in what has become a bizarre subplot with Warriors coach Don Nelson. In the past week, Crawford has been benched, allowed back, and benched himself _ all while being perfectly healthy.

Nelson doesn't want Crawford back next season and sat him on March 17 in favor of playing youngsters. He wanted Crawford back into the lineup two games later, but Crawford said he wanted more practice time before jumping back in.

Golden State's next practice won't be until Thursday, after the Spurs play Dallas on Wednesday night.

Not that the Warriors didn't keep pace in San Antonio without him.

Facing the NBA's second-best defense, Golden State went into halftime ahead 54-52 with the league's worst. It was a seesaw match the rest of the way.

Ellis hit a jumper to put Golden State ahead 89-87 with under 7 minutes left before Duncan answered to knot it back up. They traded baskets before the Spurs went ahead by three when Parker converted a 3-point play.

Another Parker layup with 3:30 left pushed San Antonio's lead to six before the frenzied finish.

Notes: The Warriors fell to 0-3 this season against the Spurs. They'll get one more shot at home next month. ... Little-used Spurs G Jacque Vaughn played two minutes in the third quarter, recording an assist in just his 24th appearance of the season.

Copyright 2009 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.