MIAMI (AP) - Draymond Green made a layup with 0.9 seconds left to give the Golden State Warriors a 97-95 win over the Miami Heat on Wednesday.
Klay Thompson tied a season high with 27 points to lead the Warriors, who have won five straight.
LeBron James led Miami with 31 points as he reached the 20-point mark for the 25th consecutive game, the longest current streak in the NBA.
Jarrett Jack dribbled the ball at the top of the key for the Warriors as the clock ticked down before finding Green open underneath the basket. Green caught the pass in mid-air and made the basket.
James' jumper from the baseline banged off the rim giving Golden State the win as Miami lost for just the second time in 12 home games.
David Lee scored 22 points and grabbed 13 rebounds and Jack added 20 points off the bench for the Warriors.
(Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)