Kyrie Irving hit a buzzer-beater to secure the Dallas Mavericks a 107-105 victory over the Denver Nuggets.
The defending champion Nuggets rallied from 13 points down in the fourth quarter to lead the hosts 105-102.
Mavericks star Luka Doncic hit a three-pointer with 25 seconds left to tie the game, before Irving floated in a left-handed shot from 20ft to seal the win.
Defeat means the Nuggets fall to second in the Western Conference, behind leaders the Oklahoma City Thunder.
Doncic hit a game-high 37 points, while Irving added 24 to help the Mavericks end the Nuggets’ five-game winning streak.
Denver’s Jamal Murray scored 12 of his 23 points in the fourth quarter to spark his side’s comeback but it proved in vain.
The Mavericks are seventh in the Western Conference, with the top six sides in each conference guaranteed a play-off spot and positions seven to 10 entering the play-in tournament.
Elsewhere, Bam Adebayo hit a three-pointer from 30ft at the final buzzer to land the Miami Heat a 104-101 win over the Detroit Pistons.
Adebayo scored 20 points overall and claimed 17 rebounds, while Duncan Robinson top-scored with 30 points for the Heat, who are seventh in the Eastern Conference.
Robinson also became the fastest player in NBA history to make 1,000 three-pointers, reaching the mark in his 343rd game, seven faster than previous record holder Buddy Hield.
The Milwaukee Bucks claimed an impressive 140-129 victory over the Phoenix Suns despite star player Giannis Antetokounmpo missing because of a hamstring injury.
Damian Lillard and Bobby Portis both made 31 points for the Bucks, who are second in the Eastern Conference.