Dallas Mavericks guard Luka Doncic (77) cheers on the Mavericks from the team bench during the second half against the Denver Nuggets at the American Airlines Center. Jerome Miron-USA TODAY Sports

Watch: After halftime, Denver hits buzzer beater to end first half

It will take years for the NBA to produce a sequence as wild as the one that took place in Dallas Sunday night.

Luka Doncic made what appeared to be a three-pointer at the buzzer leading to halftime of Dallas' game against Denver. The two teams went to the locker room believing the Mavericks held a 59-52 lead. Because the score occurred at the end of the half it was automatically reviewed. When officials reviewed the play, they found Doncic stepped out of bounds, nullifying the shot and resulting in a turnover with two seconds left in the first half.

Since the teams had left the court for halftime, they played the final two seconds of the first half after returning from the halftime break.

What would have been a funny aside became a huge story when Denver's Vlatko Cancar hit a three-point attempt from beyond the half-court line in a buzzer-beater that actually counted. 

The make cut the Mavs lead to 56-55 and Denver would go on to win 98-97.

The Nuggets improved to 10-6 with the win while the Mavericks fell to 9-7.

More must-reads:

TODAY'S BEST
Pacers' Pascal Siakam leads team to Game 6 win vs. Knicks
Watch: Matt Duchene's 2OT winner sends Stars to conference final
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Report: Tua Tagovailoa away from Dolphins amid contract chatter
Nuggets star has worrying comment about latest injury
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Giants rookie CF to undergo season-ending labrum surgery
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Hurricanes not expected to re-sign defenseman, center
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady

Want more NBA news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.