Draymond Green, a second-round draft pick out of Michigan State, made a layup with 0.9 seconds left give the Warriors a 97-95 win over the Heat.
"With the last shot, Coach didn't point out who specifically was going to take the shot," Green said. "We were going to find out who was open and make the best play. Of course guys are going to go with Klay [Thompson] and Steph [Curry]. I just happened to be wide open and [Jarrett Jack] found me."
|More on Warriors-Heat|
|More NBA coverage|
Klay Thompson tied a season high with 27 points to lead the Warriors, who have won five straight.
"We're on fire right now," Thompson said. "We're going to continue building on this. This is a special win. We haven't played the best competition the last few games but with the Miami Heat, we're showing people we're going to bring it every night. We have a chance to be special."
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.
After the game, James talked to Green to congratulate him.
"He played hard, it was great competition out there between me and him," James said. "I've also respected him especially in college, a big-time player and no one really gave him a shot, but you can tell he knows how to play the game.
"Any team that got him he will find a way to get minutes because he knows how to play the game and [Golden State] is a good fit for him. It was good to see him out there."
Jack dribbled the ball at the top of the key for the Warriors on the final possession as the clock ticked down before finding Green open underneath the basket.
"I was about to shoot it," Jack said. "... I was about to jump and in the corner of my eye I saw Draymond and I was able to make the pass and he converted the basket."
Green caught the pass in mid-air and made the basket as Battier was late in coverage.
"I think I showed too early," Battier said. "It was my responsibility. I got anxious. They made a nice play and burned for us our over-anxious play out there, my over-anxious play."
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 and did not score in the final 3:18.
"You have to give Golden State a lot of credit for this road trip they are on right now, five straight," Heat coach Erik Spoelstra said. "It doesn't matter where you're doing that on the road, that's impressive. They took control of this game. They were playing more consistently with more force, more rhythm, execution, and they dug out a good win tonight."
David Lee scored 22 points and grabbed 13 rebounds and Jack added 20 points off the bench for the Warriors.
Wednesday's victory over the NBA champs adds to their best start since 1991-92 improving to 15-7 and 9-4 on the road.
Golden State took a 77-74 lead into the fourth quarter after leading for most of the third.
After hitting a 3 to tie the game at 87, James gave the Heat their first lead since early in the third with a turnaround 18-footer with 6:39 left for an 89-87 advantage.
The teams played a one-possession game over the next four minutes before Lee knocked down a pair of free throws to tie the game at 95 with 1:54 left.
The score was still tied at 95 with under a minute remaining. Allen had a chance to give the Heat a lead with 46 seconds left. Lee followed by missing a driving layup. Battier's miss from the corner with 12 seconds left gave the Warriors an opportunity in the closing seconds.
"Ray got two clean looks, Shane got a clean look, Chris had some daylight on his roll to the rim, for the most part our execution going down the stretch we've had a lot of those games where that ball is going in and it changes your perspective," Spoelstra said.
The Heat received a scare in the second quarter when Lee sent James to the floor with a flagrant foul sending James to the floor on his back.
James popped up quickly, but spent the next couple of minutes stretching out his right shoulder before knocking down the free throw and hitting a shot on the ensuing possession for a 47-43 lead.
"I'll be all right," said James, who had an ice pack on his shoulder after the game. "It will be sore tomorrow, but I'll be ready by Saturday. That's all that matters."
Moments later, Dwyane Wade was poked in the eye by Thompson while trying to fight through a screen. With Wade's head down, Mario Chalmers ran into Wade knocking him to a floor. After staying down on the floor, Wade eventually got to his feet and went to the locker room holding the back of his neck with 3:11 left in the half.
"Right now it's fine," Wade said. "Hopefully it doesn't stiffen up on me tonight."
Thompson helped the Warriors take a 53-52 lead into halftime by scoring 21 points including five 3-pointers. Thompson scored 14 points in the second quarter, including 11 in a four-minute span.
Wade returned for the second half and opened the scoring with a dunk.
Both teams got off to a good start offensively, but it was defensive efforts by both teams which sparked the first highlight of the game.
After Stephen Curry picked off a pass by James, Wade returned the favor deflecting Curry's pass and ran toward the sideline saving the ball with an around-the-back pass to Mario Chalmers. Chalmers then found James, who tipped a pass to Wade for a layup and a 23-22 lead.
"We played against two guys [James and Wade] that will go down as all-time greats," Warriors coach Mark Jackson said. "For us to grind out a victory against the champs, it's special."
|Draymond Green (right) celebrates with Jarrett Jack, who delivers the winning assist to Green to give the Warriors the lead. (AP)|
|Golden State (15-7) «||29||24||24||20||97|
|GS:K. Thompson 27 Pts
GS:D. Lee 13 Reb
GS:S. Curry 7 Ast
|MIA:L. James 31 Pts
MIA:C. Bosh 13 Reb
MIA:L. James 5 Ast
|Players of the Game|
|K. Thompson, SG||44||11-21||0-0||7||4||1||27|
|S. Curry, PG||42||4-10||0-0||3||7||0||9|
|D. Lee, C||38||9-18||4-4||13||2||3||22|
|H. Barnes, SF||18||3-8||2-4||3||1||1||8|
|F. Ezeli, C||15||0-1||0-0||0||0||4||0|
|J. Jack, PG||31||9-14||0-0||4||4||0||20|
|D. Green, SF||30||2-5||2-2||7||2||4||7|
|C. Landry, PF||18||0-3||4-4||3||0||1||4|
|C. Jenkins, PG||4||0-1||0-0||0||0||0||0|
|R. Jefferson, SF||Did Not Play|
|A. Biedrins, C||Did Not Play|
|A. Bogut, C||Did Not Play|
|B. Rush, SG||Did Not Play|
|J. Tyler, PF||Did Not Play|
|K. Bazemore, SG||Did Not Play|
|Complete Box Score|
|L. James, SF||42||12-23||5-5||3||5||0||31|
|C. Bosh, PF||38||9-14||2-5||13||1||3||21|
|D. Wade, SG||29||5-11||4-4||4||5||2||14|
|M. Chalmers, PG||24||3-8||0-0||2||1||4||8|
|U. Haslem, PF||15||1-3||0-0||4||0||1||2|
|R. Allen, SG||28||6-10||1-1||4||4||1||14|
|S. Battier, SF||25||1-6||0-0||1||1||0||3|
|N. Cole, PG||22||1-4||0-0||2||0||2||2|
|J. Anthony, C||10||0-0||0-0||2||0||0||0|
|M. Miller, SF||6||0-1||0-0||3||1||0||0|
|R. Lewis, PF||Did Not Play|
|J. Jones, SF||Did Not Play|
|J. Harrellson, C||Did Not Play|
|D. Pittman, C||Did Not Play|
|T. Harris, SG||Did Not Play|
|Complete Box Score|