SALT LAKE CITY -- Marvin Williams scored 23 points and rookie Trey Burke hit a jumper with 24 seconds remaining to lift the Utah Jazz to a 94-89 victory over the Miami Heat on Saturday night.
Trailing 87-79 after Williams hit two 3-pointers, the Heat used a 10-4 run to draw within two points when Ray Allen made a 3 from the corner with 46 seconds to play.
Burke, who had 13 points, rose up and drained the clutch 19-foot jump shot to beat the shot clock and Gordon Hayward's free throw clinched the win for the Jazz, who have beat the Heat at home three straight times.
Dwyane Wade had 19 points for the Heat, who missed their last four shots from the field to thwart their comeback. LeBron James was 4 of 13 from the field for 13 points, his lowest scoring total since he had 13 points in a 104-88 win over Atlanta on Nov. 19.
Hayward nearly had his first triple-double with nine points, 11 assists and nine rebounds while often guarding Wade and James. Richard Jefferson had 14 and Alec Burks had 12 points for the Jazz, who snapped their four-game losing streak in front of a frenzied crowd.
James subbed in with 7:54 to play and his team trailing 77-70 and the Heat looked poised for a comeback as they also reached the penalty with 6:51 to play. But James missed his only two field goal attempts of the fourth quarter and was 2 of 4 from the line.
The young Jazz, who entered the game with worst record in the Western Conference, relied on their two veterans down the stretch until Burke's big shot.
Williams, who averages 9.9 points, has scored 67 points in his last three games and made 5 of 8 from beyond the arc in this one.
The eighth-year forward shot an air ball in the fourth quarter but then made a pair of 3-pointers -- the last shot just beating the shot clock after Jefferson dove to the floor to gather a loose ball and flip it to Utah's hot hand.
Once the Heat turned up the defensive pressure, the Jazz were often scrambling to get any shot they could muster late in the clock. When the ball ended up in the hands of Williams and Jefferson, who had seven in the final period, good things happened.
James has averaged 31.3 points and 7.8 assists per game in his last four on the road as the Heat have found their offense, shooting better than 50 percent.
The four-time MVP also had scored 30 or more in six straight trips to Salt Lake City, averaging 33.5 points while hitting 57.7 percent from the field, but didn't ever get things going in a contest that snapped the Heat's three-game winning streak.
In the second game of a six-game Western Conference road trip (that will be interrupted by the All-Star break), the Heat faced an active Jazz defense that dared the Heat's lesser known players to beat them. Norris Cole and Mario Chalmers, who each scored 12 points, found themselves wide open again and again as the Jazz collapsed on Wade and James.
Even after a couple nights off, the Heat started sluggishly and the Jazz ran around and through them for a 32-18 lead in the first quarter. The Jazz had 11 assists in the opening period and shot 62 percent.
James gave the Heat their final lead in the opening moments of the third quarter at 54-52, but Utah controlled the game the rest of the way.
The Jazz seemed a step quicker to loose balls and outrebounded the Heat 41-32. Utah had 11 second-chance points to just two for Miami.
BEST PLAY: With time running down in the game and on the shot clock, Utah's Richard Jefferson attempts to drive to the basket but loses control of the ball. He recovers it, bobbles it again and finally, while still on his knees, flips a no-look pass to teammate Marvin Williams, who hits a 3-pointer as the shot clock expires. It gives the Jazz an 87-79 lead.
BEST LINE: Gordon Hayward effected the game despite shooting just 3-for-8 from the field. He quietly came close to a triple-double, scoring nine points to go along with 11 assists and nine rebounds. He also had three steals.
KEY STAT: The Jazz outrebounded the Heat 41-32, including beating them 10-5 on the offensive glass.
SIDELINE MOMENT: LeBron is seen as a villain everywhere he goes, but he's also got a legion of fans. His first basket of the game, a 3-pointer at the 8:33 mark of the first quarter, was cheered as loudly as any scored by the Jazz - at least in the opening quarter.
OHIO TO OHIO: Before the game James spoke fondly of Jazz rookie Trey Burke, a fellow Ohio native.
"I think he's been great," he said. "Obviously he has all the ups and downs that any rookie wound have - we've all had them in our day. But I think it's exciting for him, it's exciting for this franchise to have a player like that. He's been very good."
Burke finished with 13 points, included in that was a clutch 17-foot jumper in the closing seconds.
ALWAYS READ FOR THE BEST: Jazz coach Tyrone Corbin said he's not surprised that his teams have always raised their level of play against James and the Heat.
"You ever play a sport in your life, when you're playing against the best team in the world - the best competition - you always get up for that team or that player," he said. "Miami, the last few years, has been the best team in the league, which means they're the best team in the world. It's easy to get up for a team like that. They're used to it, they're used to it every night. They're the best team. Guys want to show themselves against the best team."
ROLE REVERSAL: Jeremy Evans is usually the guy on the scoring end of a highlight play, but late in the first quarter he was the distributor. With 2:29 remaining in the quarter he got the ball on the baseline, drove toward the basket and wrapped a pass around Miami's Chris Anderson. Derrick Favors received the pass and dunked on none other than LeBron James.
INJURY REPORT: Neither team reported injuries before the game.
ETC.: The Jazz are now 32-22 all-time vs. Miami. They're 20-8 against the Heat in Salt Lake City. ... The Jazz opened the game on an 18-6 run. ... Hayward dished off six of his game-high 11 assists in the first quarter. ... The Jazz are now 14-2 when leading after the third quarter. ... Williams scored 12 points in the first quarter. He went 5-for-6 from the field and hit a pair of 3s. ... James was 3-for-7 from the field to start the game and nine points, three assists and three rebounds in the first half. ... The Jazz shot 48.6 percent from the field for the game. Miami shot 43.3 percent.
UP NEXT: With the All-Star break coming, the Jazz have just two games this week. On on the road; the other at home. They'll visit the Lakers at Staples Center on Tuesday then return home to play host to the Philadelphia 76ers on Wednesday.
Contact reporter Jim Burton at 801-625-4265, or at email@example.com. Follow him on Twitter @StandardExJimbo.