Dirk Nowitzki scored 22 points, O.J. Mayo hit tie-breaking 3-pointers late in regulation and overtime, and the Dallas Mavericks denied Denver a franchise record in wins with a 108-105 victory over the Nuggets on Friday night.

Mayo's shot in regulation could have won the game, but his turnover in the final seconds led to a tying layup by Corey Brewer.

Mayo put Dallas ahead 104-101, and the Mavericks held on in a frantic final minute of overtime to deny the Nuggets their 55th win.

Mayo finished with 20, while Vince Carter had 22 points and 12 rebounds.

Wilson Chandler and Andre Iguodala joined Brewer with 18 for the Nuggets, and Kenneth Faried had 11 points and 10 rebounds.