James drained a 3-pointer with 15 seconds left and finished with 32 points as the Cavaliers tied a franchise record with their 13th straight win, 101-95 over the Sacramento Kings on Wednesday night.

James, who changed his sneakers three times, also had 11 rebounds and nine assists, helping the Cavs rally from a 14-point deficit in the third quarter to remain unbeaten since Nov. 11. His decisive 3-pointer in the final minute over JaKarr Sampson came after James went to the bench during a timeout and told coach Tyronn Lue to run a play for him.

“Was going to run a different play and then Bron said, ‘I want Chicago.’ So I said, ‘OK,’” Lue said. “We got it to him, and he made a big shot.”

After catching the inbounds pass, James took a dribble to his left and then stepped behind the line and knocked down his fifth 3-pointer.

“It felt good,” said James, who finished 12 of 18 from the floor. “I was able to get the laces where I wanted them, and I got enough space, I created enough space with the step-back away from JaKarr, and I was able to let it go. It felt good the whole time.”

Cleveland, which also won 13 straight in the 2008-09 and 2009-10 seasons, will try to break the team record Friday at Indiana.

Also Wednesday:

Warriors 101, Hornets 87: CHARLOTTE, N.C. — Kevin Durant had 35 points, 11 rebounds and 10 assists, and Golden State beat Charlotte without Stephen Curry and Draymond Green. It was Durant’s first triple-double of the season and his second since joining the Warriors before last season.

Pelicans 123, Nuggets 114: NEW ORLEANS — DeMarcus Cousins had 40 points, 22 rebounds and four blocks, and the Pelicans won for the second time in three games without Anthony Davis.