OKLAHOMA CITY (AP) - Harrison Barnes scored 24 points, Dennis Smith Jr. got 11 of his 19 points in the final 1:39 and the Dallas Mavericks closed 2017 with their season-best fourth straight win, beating the Oklahoma City Thunder 116-113 on Sunday night.
Dirk Nowitzki added 13 points for Dallas, which had lost four straight in Oklahoma City and seven of nine overall against the Thunder.
Dallas won despite Oklahoma City's Russell Westbrook recording his 12th triple-double of the season with 38 points, 15 rebounds and 11 assists. The Thunder had been 11-3 in December before consecutive home losses to Milwaukee and Dallas to end the month.
Paul George scored 25 points and Carmelo Anthony had 21 for Oklahoma City, combining to go 8 of 14 from 3-point range. Despite their hot shooting, Westbrook took the big shots late for OKC and missed a trio of 3-pointers in the final 30 seconds. He was 0 for 4 from deep for the game.
The teams matched each other shot for shot during a first half in which the Thunder hit 8 of 17 3-pointers while the Mavericks made 8 of 18. Oklahoma City emerged with a 63-57 lead. Westbrook fed rookie Terrance Ferguson for a buzzer-beating layup in the third quarter to put the Thunder up 85-84.
Consecutive 3-pointers by Smith - the second one banked in - put the Mavericks up 111-108 with 1:17 left. Smith hit a driving layup with 30.4 seconds left to give Dallas a 113-110 lead, then rebounded a 3-point miss by Westbrook at the other end and made two free throws with 15.8 seconds left.
George made three free throws with 12.7 seconds left to pull the Thunder within 115-113, and then Smith made 1 of 2 free throws with 11.8 seconds left. Westbrook missed two more 3-point attempts in the final seconds.
Mavericks: Josh McRoberts was in uniform for the first time this season but didn't play. The veteran forward-center hasn't appeared in a NBA game since Dec. 23, 2016 for Miami, after which he dealt with a stress fracture in his left foot. ... Coach Rick Carlisle moved into a tie with John MacLeod for 17th on the NBA coaching wins list with his 707th career victory. ... Dallas has made at least 10 3-pointers in 27 of its first 38 games. ... Yogi Ferrell was called for a technical foul by official Marc Davis between the third and fourth quarters.
Thunder: Starting guard and defensive ace Andre Roberson sat out with patellar tendonitis. Josh Huestis made his first career start in Roberson's place. ... Oklahoma City is 8-2 in New Year's Eve games. The Thunder have hosted a Dec. 31 game in all 10 seasons the franchise has been in Oklahoma City. ... Westbrook has 91 career triple-doubles, fourth-best in NBA history.
Mavericks: Begin a four-game homestand Wednesday night against Golden State.
Thunder: Face back-to-back games in Los Angeles, against the Lakers on Wednesday night and the Clippers on Thursday night.
More AP basketball: https://apnews.com/tag/NBAbasketball