DENVER — Manu Ginobili sparked the Spurs to a big fourth-quarter lead and he drew the foul that negated Carmelo Anthony's winning basket in San Antonio's 113-112 escape from the Denver Nuggets on Thursday night.

The Spurs led 111-108 with 8 seconds left when Anthony got behind the defense for a dunk. Antonio McDyess' inbounds pass was deflected by J.R. Smith off Ginobili's head and into the arms of Anthony, whose basket gave the Nuggets a 112-111 lead with 7.1 seconds left.

Ginobili's running bank shot at 4.2 seconds put the Spurs back on top 113-112.

After a timeout, Anthony got the inbounds pass from Ty Lawson and drove the lane. He ran over Ginobili as he made a buzzer-beater that was called off for an offensive foul.

After a review, the officials put .4 seconds back on the clock, and the Spurs inbounded the ball for the win.