DALLAS -- Luka Doncic intentionally missed a free throw, came up with the loose ball and turned it over to the basket while falling down with one second left in regulation.

After a quick roll, he gets back on his feet and does an impromptu dance to celebrate, snapping his leg while frantically waving his arms up and down.

When the buzzer sounded a second later, Doncic continued his celebration, putting his fist in the air and jumping up and down as he ascended the sideline,

Soaking in the adulation of the sold-out American Airlines Center crowd that worked into a frenzy for the superstar's historically sensational triple-double Tuesday night. .

I thought we won the game," Doncic said. "Then I saw it was tied. I was like, 'Ugh.' I didn't know what to do.

Doncic went on to put the finishing touches on a stat line never before seen in the NBA -- 60 points, 21 rebounds and 10 assists -- leading the Mavericks to an improbable 126-121 comeback win over the New York Knicks.

Two steals, one block. Jump ball too,” Doncic joked when asked about his 60-21-10 line, which broke Dirk Nowitzki’s franchise record for points in a game and tied Doncic’s career high for rebounds.

Doncic's 60 points tied the record for the highest scoring triple-double in NBA history, matching James Harden's 60 for the Houston Rockets in a January 30, 2018 win over the Orlando Magic.

Hall of Famers Wilt Chamberlain (twice) and Elgin Baylor are the only other players to grab at least 20 rebounds during a 50-point triple-double.

As he entered the locker room after the victory, Doncic received a barrage of boos from teammates armed with dozens of water bottles.

To do something that's never been done before, that's hard to do," Mavs coach Jason Kidd said. "He's had some great players before him. Elgin Baylor and Wilt, he was in that class and then he separated himself and created his own class.