HOUSTON (AP) — Davion Mitchell, Damian Jones and Trey Lyles scored 24 points each, and the Sacramento Kings outlasted the Houston Rockets for a 121-118 win Wednesday night.

It was a wild back-and-forth game where both teams had double-digit leads before staying close in the fourth quarter.

READ MORE: Republic Win Over Earthquakes At US Open Cup Match Gives New Hope To MLS Dream

Mitchell, who is a rookie, hopes that the Kings use these last few games to try and build momentum for more success next season.

“I feel like the whole year we didn’t really have an identity,” he said. “Some games we’d play hard, some games we’d be sluggish. I think these games right here are helping us get an identity. Be that team that plays hard, is aggressive and who loves to play on the defensive end not just the offensive end.”

The Kings got the win despite big performances from two of Houston’s young stars. Rookie Jalen Green, the second overall pick in the draft, tied a season-high with 32 points, and Kevin Porter Jr. had his first career triple-double with 30 points, 12 assists and a career-high 12 rebounds.

Coach Stephen Silas was asked about Porter getting his first triple-double.

“It shows a lot of commitment,” Silas said. “Commitment on his end as far as working to get better and getting the little successes to gain confidence and having big success tonight.”

Donte DiVincenzo hit a 3 for Sacramento with about two minutes left and Jones added a layup on the next possession to give Sacramento a 117-113 lead with just more than a minute to go.

A basket by Jae’Sean Tate cut the lead to 2 and Josh Christopher got a steal but was called for a charge on the other end to give the Kings the ball back with 45 seconds left.

Mitchell turned it over to give Houston the ball with 24 seconds to go, but Porter couldn’t handle a bad inbound pass from Garrison Mathews, and the Kings got it back.

Mitchell made two free throws after that to extend the lead to 119-115, but a 3 by Green got Houston within 1 with 10.5 seconds left. Lyles made two free throws after that, and the Rockets had a chance to tie it at the buzzer. Christopher’s 3-pointer bounced off the rim.

Porter, who is 21, joins LeBron James, Brandon Jennings and Trae Young as the only players to have both a 50-point game and a triple-double before age 22. Porter had a career-high 50 points last April 29th against Milwaukee.

“I can’t even enjoy this one for real,” Porter said. “Ultimately you want to win, so it wasn’t good enough.”

It was the fifth straight game with at least 20 points for Mitchell, who was the ninth pick in the most recent draft.

“I’m learning a lot, especially in games like this going down to the wire,” he said. “I think it’s going to help me in the long run.”

READ MORE: Missing Auburn Man Found Dead Near Gold Country Fairgrounds

Both teams had trouble offensively to start the fourth and each team had scored just one basket when Kenyon Martin made a 3-pointer with 6 ½ minutes left to put Houston up 108-106.

The Kings went on a 6-0 run after that to take a 112-108 lead with 3 ½ minutes to go.

A 3-point play by Porter gave Houston its first points in almost four minutes and cut the lead to 1 with about 2 1/2 minutes left. Usman Garuba followed with a layup to put Houston on top 113-112.

Porter made four points to get the Rockets within 3 with about eight minutes left in the third quarter. The Kings then used a 13-2 run to make it 95-81 with about 4 1/2 minutes to go in the quarter.

Harrison Barnes had four points in that stretch and DiVincenzo capped it with a 3-pointer.

Sacramento had an 11-point lead later in the third before the Rockets used a 12-2 run to wrap up the period and cut it to 104-103 entering the fourth.

Porter and Bruno Fernando had four points each in that stretch and Christopher had two steals to help the Rockets close the gap.

TIP-INS

Kings: De’Aaron Fox missed a sixth straight game with a sore right hand. … Donatas Sabonis was out for a fourth consecutive game with a bruised left knee. … Sacramento made just 7 of 26 3-pointers.

Rockets: Eric Gordon sat out for a third straight game with right groin soreness. … Dennis Schroder missed his second game with a sore left shoulder. … Christian Wood was out for the second game in a row with tightness in his left hamstring. … Alperen Sengun missed the game because of a bruised left leg.

THEY SAID IT

Green on Porter’s performance: “He just does it so easy… he’s super talented.”

UP NEXT

MORE NEWS: Turlock Man Accused Of Sending And Receiving Child Porn Online

These teams meet again in Houston Friday night.