The Golden State Warriors claimed rare back-to-back wins with Wednesday's 127-125 victory at the Dallas Mavericks but the game was marred by controversy after Kevon Looney's third-quarter uncontested dunk.
Stephen Curry scored 20 points with 13 assists as the reigning NBA champions secured consecutive wins on a road trip for the first time this season at American Airlines Center.
But the Mavs were left raging after Looney's uncontested dunk with 1:54 left in the third quarter from a Warriors inbound after a timeout, which Dallas had thought was their ball, meaning they subsequently lined up on the other half of the court.
Mavs owner Mark Cuban said they would contest the result of the game due to the incident which he labelled the "worst officiating non call mistake possibly in the history of the NBA" on Twitter.
Despite that, the Mavs could have won the game on merit, with Luka Doncic missing a two-point attempt under pressure from Draymond Green with 3.2 seconds left at 125-122.
That came after Curry's bounce-pass set up Green's three-point play, before the reigning NBA Finals MVP glided in for a two-point shot to open up the three-point buffer with 8.1 seconds to play.
Doncic, in his return after missing five games with a thigh injury, scored 30 points with seven rebounds and 17 assists. Doncic shot 11-of-27 from the field and six-of-10 from the stripe.
In Kyrie Irving's absence, 20-year-old guard Jaden Hardy was outstanding with six three-pointers in his 27 points.
The win is a major boost for Golden State's playoff hopes, moving to sixth in the West with a 38-36 record, while the Mavs drop to ninth with a 36-37 record, having lost five of their past seven games.
It was Golden State's first road win when trailing after the first quarter, having entered the game with a 0-20 record.
Morant and KAT make successful returns
Ja Morant made his successful return for the Memphis Grizzlies off the bench for the first time in his career as they won their fourth straight game, beating the Houston Rockets 130-125.
Morant returned after his NBA-imposed eight-game suspension with 17 points and five assists, receiving a standing ovation from the home fans upon his injection into the game.
Jaren Jackson Jr scored a season-high 37 points with 10 rebounds and Desmond Bane added 20 points as the Grizzlies clinched the Southwest division.
It was a night of returns as Karl-Anthony Towns was back for the first time since November due to a calf strain, scoring two game-winning free-throws with 3.6 seconds left as the Minnesota Timberwolves won 125-124 over the Atlanta Hawks.
Lakers stay right in playoff hunt
The Los Angeles Lakers ensured they remained firmly in the congested race for Western Conference playoff and play-in tournament spots with a 122-111 victory over the Phoenix Suns.
Anthony Davis scored a team-high 27 points including 20 in the second half, with nine rebounds, while Austin Reaves backed up Sunday's 35-point game with 25 points and a career-high 11 assists.
Devin Booker scored 33 points on 11-of-16 field shooting with six rebounds but seven turnovers for the Suns, who remain fourth in the West but with a 38-34 record.
The Lakers move up to 10th, just behind the Mavs in ninth, with a 36-37 record and LeBron James not far from a return from injury.