DALLAS (AP) — Russell Westbrook didn’t waste much time putting just his second single-digit scoring game of the season behind him.

The Oklahoma City star won it with the play that wrapped up his 20th game with at least 30 points.

Westbrook’s go-ahead three-point play in the final minute of overtime put him at 30, and the Thunder beat the Dallas Mavericks 111-110 on Wednesday night.

Westbrook, who had 11 rebounds and seven assists, drove for the tying layup and made the free throw with 38 seconds left in OT to help the playoff-contending Thunder salvage a four-game split of the season series against a one-time postseason rival now among the NBA’s worst teams.

The reigning MVP had 10 points on 5-of-6 shooting in the first quarter after scoring eight in a win over Orlando. Westbrook cooled off from there and missed all five of his 3-pointers, but scored seven of Oklahoma City’s 11 points in overtime.

“Just keep going, man,” said Westbrook, who was 11 of 25 from the field and made eight of nine free throws. “Regardless of missed or made shots, my mentality never changes throughout the game and I always continue to stay in attack mode.”

Dwight Powell forced overtime at 100-all with a follow shot at the buzzer to match his career high with 21 points. It was the first points for Dallas since Powell’s alley-oop dunk with 4 minutes remaining.

Harrison Barnes scored 26 points for the Mavericks, who beat the Thunder in the Western Conference finals in 2011 before getting swept in the first round by them as defending champions a year later.

“People look at their record and think they aren’t a very good team,” Oklahoma City coach Billy Donovan said. “They are a good basketball team. They have not been able to close out some games.”

Dallas had a chance to win in overtime on an inbound play with 6 seconds left, but could only get a desperation jumper at the buzzer from rookie Dennis Smith Jr., who scored the first eight Dallas points in the extra period and finished with 17.

“The last shot was a tough shot but a makeable shot,” Smith said. “Learn from it, learn from it. You can look at it as a loss or a lesson.”

The Mavericks almost turned it over on the final possession of regulation but Wesley Matthews kept the play alive before missing a wild layup, with Powell grabbing the rebound on the other side of the basket and laying it in.

Carmelo Anthony had put the Thunder ahead with 1:23 to go on a layup after three offensive rebounds on the same possession, including two from Steven Adams.

Paul George had 23 points and 11 rebounds, and Adams had nine points and 12 boards.

TIP-INS

Thunder: F Jerami Grant was called for a flagrant foul for a swipe at the head when Powell made a layup in the first half. … The Thunder outrebounded the Mavericks 56-36, including a 19-8 edge on offensive rebounds.

Mavericks: Dirk Nowitzki, who is sixth on the NBA scoring list, reached 31,000 points with his patented one-legged fadeway in the middle of the second quarter. The 39-year-old German, in his 20th season, all with the Mavericks, finished with 12 points. … Powell led Dallas with eight rebounds. … J.J. Barea scored all 12 of his points in the fourth quarter and matched Westbrook with a game-high seven assists.

NOEL RETURNS

Dallas center Nerlens Noel had four points, three rebounds and four fouls in 16 minutes in his return after missing 42 games following surgery for a torn ligament in his left thumb. He was rusty, failing to get off a shot on two alley-oops and missing another attempt. He led Dallas with three first-half turnovers, but had a highlight in the second half with a block on a soaring Westbrook going for a layup.

Before the injury was announced in December, Noel had appeared to fall out of favor with coach Rick Carlisle. The first six of those 42 missed games were listed as coaching decisions. He’s playing on a one-year contract after he couldn’t agree on a long-term deal with the Mavericks, who acquired him at the trading deadline last season.

SLUMPING FROM 3

Westbrook has gone without a 3 in four of the past six games and is 2 of 24 (8 percent) from long range in that span. The slump has dropped the career 31 percent shooter from 3 to 28 percent for the season.

UP NEXT

Thunder: At Phoenix on Friday.

Mavericks: At Chicago on Friday, the only road game in a stretch of seven games.

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)