AUSTIN — LeBron James scored 24 points and the Cleveland Cavaliers rallied from a 24-point deficit to beat the Golden State Warriors, 117-115, Sunday night.

The Warriors lost for the fifth straight time in six games, which was the second time in five games they’ve lost to Cleveland.

James had 15 points and 11 rebounds, Harrison Barnes added 16 points and nine assists and Stephen Curry had 15 rebounds.

Kevin Durant added 17 points for the Warriors, who lost for just the second of a season in which they have lost 11 of 14.

“We came out and played hard,” said Warriors coach Steve Kerr.

“They got a little bit sloppy.

They made some tough shots, and they just kept coming.

They’re playing with heart and soul.

They got the best of us.”

The Warriors were playing without center Draymond Green, who has been dealing with a sprained left ankle.

He was a full participant but did not play.

The Cavaliers made 10 3-pointers, including a pair by James and Thompson that put the Warriors ahead at the break.

Curry hit a 3 with 2.5 seconds left, then grabbed the rebound and passed to Barnes for a dunk.

“He’s playing great,” Kerr said of Green.

“I’m going to keep saying it.

You know, it’s hard to come out here and say that and not say it, but he’s doing a lot better.

He’s starting to play.”

James had 17 points in the first quarter, including 11 in the second quarter when he connected with Green on a three-pointer and added two free throws.

James was 3 for 9 from the field in the fourth quarter and had just five points on 3-for-9 shooting in the game.

The Cavs went on a 10-2 run to take an 82-72 lead into the fourth.

That was the first time in three games that Golden State scored at least 50 points and had at least 25 assists.

“That’s what the game is all about.

You don’t have to score 50 points, you don’t need to score 100 points,” Warriors coach Mike Brown said.

“It’s just a matter of when do we get a break and how long does that go?”

James was 4 of 11 from the floor and finished with 21 points in this season’s playoffs.

He had 16 points in a loss to San Antonio on Saturday.

James also had nine assists, nine rebounds and seven steals.

“LeBron is playing like a top 10 player,” Curry said.

Curry also had 13 points and seven rebounds for the Cavs.

“There’s nothing you can do about him,” Brown said of James.

“Every game is about the players.”

Cleveland has won six of seven in the series, with two losses in each of the last three.

James said the Warriors “weren’t good” against him in the last meeting, when he scored 34 points in Game 5 and had nine rebounds.

Curry said he and James were “wasting time” in the previous meeting, with the Warriors missing five of six 3-point attempts and shooting just 35.6 percent.

“You play so hard, and it’s tough to score, and you try to make plays,” he said.

Thompson said the Cavs had to get used to James playing “small forward.”

“I feel like it’s kind of like his role,” Thompson said.

James has averaged 27.5 points on 59.1 percent shooting in his last five games.

Curry has averaged 19.8 points in those games.

Durant has averaged 23.2 points in his two playoff appearances.

“At this point, I don’t know what they’re going to do.

I don- I don.

They just can’t keep him out there,” Durant said.

Golden State has lost 10 straight, including three in a row by an average of 11.0 points.

James missed the last two games with a sore right knee.

He missed all seven of his shots in Game 4.

He sat out the first two games of the series in Cleveland with a strained left hamstring.

The last time the Warriors won in the Finals was in the 2014 Western Conference finals, when Curry scored 33 points in an 85-72 victory over the Oklahoma City Thunder.