Brooklyn Nets’ Shabazz Napier (13) drives past Cleveland Cavaliers’ Ante Zizic (41), from Croatia, in the first half of an NBA basketball game, Wednesday, Feb. 13, 2019, in Cleveland. (Tony Dejak/Associated Press)

CLEVELAND — DeMarre Carroll saved the day for the Brooklyn Nets, and D’Angelo Russell took advantage of the extra opportunity.

Russell scored 14 of his 36 points in the third overtime after Carroll’s desperation 3-pointer in the second OT tied the game, and the Nets outlasted the Cleveland Cavaliers 148-139 on Wednesday night.

Russell’s big finish wouldn’t have been possible if Carroll hadn’t shocked everyone with his buzzer-beating shot.

The fact the play wasn’t even designed for Carroll made the result even more improbable.

“It was for Joe (Harris) or Allen (Crabbe),” he said. “It was a broken play. I saw an opening and I took it.”

Cleveland seemed to have sealed the win when Jordan Clarkson, who scored a career-high 42 points, made a go-ahead jumper in the final minute to put the Cavaliers ahead and added two free throws for a 128-125 lead.

Brooklyn called timeout and Carroll was double-teamed in the corner after taking the inbounds pass. He took a couple of dribbles to his left and put up the shot. Carroll fell to the floor and was mobbed by his teammates, who stormed off the bench.

Russell, who is headed to play in his first All-Star game, had two points in the first half and scored Brooklyn’s first 11 points in third overtime, including two 3-pointers.

Russell’s teammates pulled him aside at halftime with a clear message.

“They kept pushing me,” he said. “They weren’t letting me get down. I made sure I got the ball.”

Nets coach Kenny Atkinson said: “He was really strong in the second half and all the overtimes, but that’s the sign of an All-Star.”

Harris scored 25 points and Carroll had 18 as the Nets improved to 30-29 — above .500 at the All-Star break for the first time since 2012-13.

The teams were playing their final game before the break, likely a good thing after going 63 minutes in a contest that saw 23 lead changes.

Clarkson, playing a career-high 47 minutes, was 16 of 34 from the field and made 7 of 17 3-point attempts.

“We tried to leave everything on the floor trying to get a win knowing we’ve got these days off,” he said. “We didn’t expect to go to three overtimes. But I’m in shape. I’ll go all day.”

Collin Sexton had 24 points and Marquese Chriss added 23 for Cleveland.

Russell made two free throws with 16 seconds remaining to break a 116-all tie in the first overtime, but Sexton drove the lane and scored to tie the game with 2.8 seconds left.

Cavaliers forward Kevin Love sat out to get additional rest following foot surgery. Brooklyn dressed nine players because of several injuries.

Chriss, Larry Nance Jr, David Nwaba and Ante Zizic fouled out for Cleveland, which played its first overtime game of the season.

The Cavaliers (12-46) were trying to win consecutive games for the third time this season. Cleveland has the third-worst record in the league.

TIP-INS

Nets: G Spencer Dinwiddle (torn ligaments in right thumb) F Treveon Graham (personal reasons), F Rodions Kurucs (sprained left elbow), F Jared Dudley (strained left hamstring) and G Dzanan Musa (G-League assignment) are out.

Cavaliers: F Cedi Osman and C Ante Zizic returned to the starting lineup. Osman (sprained right ankle) missed four games and Zizic (sore lower back) didn’t play Monday. ... F Tristan Thompson (sore left foot) is expected to return sometime after the break. He has missed the last 13 games.

LOOKING AHEAD

Love plans to increase his playing time following the All-Star break. The Cavaliers resume play against Phoenix on Feb. 21.

“I don’t know minutes-wise what it’s going to be like, but a good progression after that because I will be fully prepared to go,” Love said.

“He’s in a really good place right now both physically and mentally,” Cavaliers coach Larry Drew said.

STREAK SNAPPER

The Nets, who had lost two straight and five of six, are sixth in the Eastern Conference.

“That was one of those weird games before the break,” Atkinson said. “It would have been tough with a loss, but this really keeps our morale up.”

UP NEXT

Nets: Host Portland on Thursday, Feb. 21.

Cavaliers: Host Phoenix on Thursday, Feb. 21.

___

More AP NBA: https://apnews.com/NBA and https://twitter.com/AP_Sports

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.