De’Aaron Fox scored 29 points, Chimezie Metu made a clutch 3-pointer with 46.7 seconds remaining and the Sacramento Kings ended their longest losing streak of the season by beating the Los Angeles Lakers 125-116 on Wednesday night.

Harrison Barnes added 23 points and seven rebounds for the Kings, who dropped their previous five games. Tyrese Haliburton had 14 points and 10 assists.

LeBron James had 34 points, seven rebounds and six assists for the Lakers. Malik Monk scored 22.

"It was a much-needed win," Kings interim coach Alvin Gentry said. "We did a good job of attacking the paint — we ended up with 70 points in the paint. That was the difference in the game, we were able to get the ball to the basket."

The Lakers trailed by 10 but cut it to 118-116 following a layup by James. Fox came back with a 12-footer near the right elbow and, after Russell Westbrook missed a 3-pointer, Metu made his big shot from the top of the arc.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Los Angeles Lakers forward LeBron James (6) passes off while defended by Sacramento Kings guard De'Aaron Fox (5) and center Alex Len (25) in the second half of an NBA basketball game in Sacramento, Calif., Wednesday, Jan. 12, 2022. The Kings won 125-116.

Los Angeles Lakers forward LeBron James (6) passes off while defended by Sacramento Kings guard De'Aaron Fox (5) and center Alex Len (25) in the second half of an NBA basketball game in Sacramento, Calif., Wednesday, Jan. 12, 2022. The Kings won 125-116. (AP Photo/José Luis Villegas)

Avery Bradley missed a 3 for the Lakers, and Haliburton made a pair of free throws to finish the scoring.

The Lakers repeatedly built sizeable leads but then let them slip away. They led by six at halftime before the Kings took control in the third quarter, outscoring Los Angeles 40-23.

"We knew if we didn’t put up a stand, put up a fight in the third, we would let this slip away like the previous five," Barnes said. "Tonight from start to finish we did a good job of sticking to the game plan, everyone providing energy, competing. Things that we haven’t done consistently."

Sacramento didn’t trail after that, sending the Lakers (21-21) to their second consecutive loss after winning four in a row.

"It’s been an up-and-down season, that’s why we’re at .500," James said. "The third quarter tonight, their tempo was too much for us. We couldn’t handle it."

Los Angeles led most of the first half.

James made four straight shots and then fed Austin Reaves, who was fouled while dunking and converted the three-point play. Reaves later made a 3-pointer that put Los Angeles ahead 51-39.

Trailing 67-53, the Kings closed the first half on an 8-0 run and then scored the first five points of the third quarter.

Fox fueled another big run later in the third when Sacramento scored 15 straight and led 92-79.

"For the second game in a row, our defense let us down," Lakers coach Frank Vogel said. "We have to figure out what we’re doing there and be better in that situation."

FAVORITE FOE

Monk has had some of his best games this season against the Kings. In four games versus Sacramento, Monk has put up 88 total points for a 22.0 average — 10 points better than his overall average.

PLAY OF THE GAME

After Trevor Ariza blocked a shot by Fox, James grabbed the rebound and fed the ball to Monk sprinting down the right side of the court. Monk drove toward the basket and laid the ball high off the glass for James, who was cutting through the lane and dunked.

HE SAID IT

"We knew offensively we can get whatever we want. We just have to put it in the hoop." — Haliburton.

TIP-INS

Lakers: James has scored 31 or more in 11 of his last 12 games. … Reaves had a season-high 19 points on 7-of-10 shooting with four 3s. … Carmelo Anthony was held out because of lower back tightness. ... Sekou Doumbouya was signed to a two-way contract.

Kings: Richaun Holmes has cleared the NBA’s health and safety protocol and is working on his conditioning before rejoining the team. ... Tristan Thompson did not play because of a non-COVID-19 illness.

UP NEXT

Lakers: Face the Nuggets in Denver on Saturday. Los Angeles has lost seven of its last 10 in Denver.

Kings: Play the Rockets at home Friday. Houston won two of the three games between the teams last season.