Dorian Finney-Smith also made crucial plays late: setting a screen that freed Doncic up for a layup to put the Lakers up 94-91; and a putback dunk off a James missed floater to give the Lakers a 98-94 lead.

Kyrie Irving led the Mavericks with a game-high 35 points, seven rebounds, four assists, three steals and two blocked shots.

Klay Thompson added 22 points and eight rebounds for Dallas.