AUBURN HILLS, Mich. - After another entertaining victory, the Detroit Pistons received a visit from grateful owner Tom Gores.

"Tom came in and talked to the team after the game, and he's very excited," coach Stan Van Gundy said. "He thanked them for not giving up on the season when it was 5-23, and he talked about how much that means to him and to the whole city. He talked to the coaches as well, and there wasn't a single time where he tried to take any of the credit. He's unselfish, but we all know that he's the catalyst for what we have started to do here."

Detroit has won 12 of 15 since that 5-23 start, and the latest victory was an exciting one. Brandon Jennings had 24 points and a career-high 21 assists, and the Pistons held off the Orlando Magic 128-118 on Wednesday night.

Andre Drummond added 26 points and 16 rebounds for the Pistons. Detroit nearly blew a 21-point third-quarter lead, but Jennings helped the Pistons close it out in the fourth.

"Finding guys, guys are getting easy shots, guys are making shots," Jennings said. "It was one of those nights where you're like, 'I'm close to 19 (assists), I better get 20.'"

Gores took over as Detroit's owner in 2011, and this is the most encouraging stretch the team has had since then. He spoke with reporters at halftime.

"I'm just happy really, honestly, for our fans, for the city of Detroit," Gores said. "For me, I feel like I was brought in as a new owner to deliver something, and I feel like I'm at least delivering a part of what fans expect. I'm really proud of this team, the way they're fighting. I'm proud of Stan for not giving up."

Greg Monroe had 24 points and 10 rebounds for Detroit, which never trailed. The Pistons led by 11 after the first quarter and by 17 at halftime.

Nikola Vucevic led Orlando with 26 points. The Magic cut the lead to two in the fourth, but the Pistons went on a 14-2 run to regain a comfortable margin.

With the score 102-100, Jennings scored four straight points, and he later found Anthony Tolliver for a 3-pointer that made it 111-102.

A 3-pointer by Jodie Meeks — off another assist by Jennings — put the Pistons up by 14.

The Pistons jumped to a 26-12 lead and were ahead 35-24 after one. The Magic cut the lead to six before Detroit finished the half on a 13-2 run. Kyle Singler's 3-pointer at the buzzer made it 65-48.

Singler finished with 14 points for Detroit.

Orlando's Victor Oladipo scored 23 points, but the Magic wasted that effort with another poor defensive performance. This was the most points they've allowed all season, surpassing Sunday's 127-99 loss to Oklahoma City.

Jennings was the first player with at least 20 points and 20 assists in a game since Steve Nash had 21 points and 20 assists for Phoenix against Philadelphia on Nov. 9, 2009, according to STATS.

BACK IN MICHIGAN

Orlando rookie Devyn Marble started and played 20 minutes against the team he grew up rooting for. Marble was born in nearby Southfield, Michigan.

"I was happy to be back," Marble said. "I wanted to come out here and try to get a 'W' — came up short, so it's on to the next one."

Marble's father Roy lives in Michigan and has been battling cancer. He was at the game Wednesday.

SPREADING THE WEALTH

Jennings has been instrumental in Detroit's surge back into playoff contention, and he had 11 assists in the first half. His lob to Drummond for a one-handed dunk was a highlight of the third quarter and put the Pistons ahead 92-73. It was another alley-oop to Drummond that gave Jennings a career high with his 20th assist. That dunk made it 122-110.

"(Jennings) was phenomenal tonight," Van Gundy said. "He was getting to the lane and making plays. He was making his shots when he got them."

TIP-INS

Magic: Tobias Harris missed all five of his shots in the first half, but he finished with 19 points in his return after missing five games with a sprained left ankle.

Pistons: Jennings had 19 assists for Milwaukee on March 2, 2013, in an overtime win over Toronto. ... Detroit's 128 points set a season high. The previous mark came in a 119-109 win over Indiana on Dec. 26 in what was the Pistons' first game after waiving forward Josh Smith.

UP NEXT

Magic: Visit New York on Friday night.

Pistons: Visit Milwaukee on Saturday night.