LeBron James dunked for the winning basket while Tyson Chandler made a crucial block to lift the Los Angeles Lakers to a 107-106 victory over the Atlanta Hawks.
James' put-back slam put the Lakers in the lead with just over 15 seconds remaining, before Chandler blocked a shot from Hawks rookie Trae Young at the buzzer to seal the win.
James finished with 26 points and Kyle Kuzma added 18 for the Lakers' fifth win in six games.
James Harden recorded a season high 40 points to help power the Houston Rockets to their first home win of the season.
Chris Paul, who added 26 points, made a lay-up in the final two minutes to consolidate the Rockets' lead over the Indiana Pacers, with the game finishing 115-103.
The Charlotte Hornets picked up a much-needed win, beating the Detroit Pistons 113-103 thanks to a strong second half.
They opened the third quarter on a 7-0 run, before opening the fourth on an 8-0 stretch, with Kemba Walker and Tony Parker each scoring a game-high 24 points.
Meanwhile, the Orlando Magic trounced the New York Knicks 115-89 β the franchise's largest margin of victory in its 30-year history.
Elsewhere, Brook Lopez hit eight three-pointers to help the Milwuakee Bucks win in Denver for the first time since 2010, as the side beat the Nuggets 121-114.
And Damian Lillard recorded 19 points and 12 assists as the Portland Trail Blazers routed the Boston Celtics 100-94.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Press Association Sport staff');
ga('pacontentapi.set', 'dimension2', '596c48fa-8105-45f3-a815-d3da69692f0b');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:world');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:basketball,sport:other');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'James leads the way as Lakers edge out Hawks'});