SACRAMENTO, Calif. (AP) — Cory Joseph had a season-high 24 points and seven assists in his first game against his former team, Jhalil Okafor made a timely return after missing nearly two months following knee surgery, and the short-handed Detroit Pistons beat the Sacramento Kings 113-101 on Thursday night.

Isaiah Stewart added 16 points and 13 rebounds in place of injured Mason Plumlee for the Pistons. Okafor, who had missed 27 games following left knee surgery, scored 11 points. Killian Hayes also had 11.

“I felt like it was very important that we come out from the start and throw the first punch and play hard throughout the whole game,” Stewart said. “We were diving on the floor in the first quarter. That’s the way it has to be every game.”

Detroit entered an East-worst 15-16 but led comfortably against slumping Sacramento after going up by 22 early in the third quarter.

It’s the Pistons second win on their five-game road trip. Detroit still has to go to Portland and Los Angeles to face the Clippers.

“The one thing that the guys set the tone was our fight and our intensity,” Pistons coach Dwane Casey said. “The second thing that happened was our ball movement. That set the tone even with our two starters out. Attention to detail defensively was huge for us and had them playing catch-up the entire night.”

The Pistons were without starters Plumlee (concussion evaluation) and Jerami Grant (sore right knee) but did get Okafor back.

Joseph was the difference after spending two seasons with the Kings before getting traded to Detroit along with two second-round picks at the deadline in exchange for Delon Wright. The veteran guard hadn’t scored more than 17 since then but broke out in his return to Golden 1 Center.

Joseph shot 10 of 14 and scored six of Detroit’s final eight points after the Kings had pulled to 105-94.

“Obviously playing against my former team, you want to get the,” Joseph said. “We had a complete game. We have a lot of young guys, a lot of young talent and they’re just soaking it up. It’s lovely to see. That’s an organization that is going in the right direction.

De’Aaron Fox had 23 points, seven assists and nine rebounds for the Kings. Sacramento has lost five straight. On Monday the Kings fell to the Minnesota Timberwolves, who have the worst record in the West.

“That was absolutely unacceptable,” coach Luke Walton said. “It’s not OK. It’s frustrating. We’re making a lot of the same mistakes.”

Buddy Hield added 15 and Harrison Barnes scored 13.

Joseph made a three-point play following Buddy Hield’s third foul to put the Pistons up by 17 late in the first half then later added a layup just before the buzzer to make it 62-44.

TIP-INS

Pistons: Hamidou Diallo scored 10 points.

Kings: Fox picked up his fourth foul with seven minutes left in the third and had only one the rest of the game. … Sacramento was outrebounded 43-38.

UP NEXT

Pistons: At Portland on Saturday. The Trail Blazers have won two straight in the series, dating to last season.

Kings: At Utah on Saturday. Sacramento hasn’t won in Salt Lake City since Nov. 21, 2018.

__

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

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