LOS ANGELES (AP) — Tobias Harris scored 23 points and hit a decisive 3-pointer with 30.5 seconds to play, and the Detroit Pistons snapped a three-game losing streak with a 102-97 victory over the Los Angeles Lakers on Sunday night.

Marcus Morris scored 23 points and Andre Drummond had 15 points and 17 rebounds for the Pistons. They wrapped up their longest trip of the season by beating the Lakers at Staples Center for the first time in seven tries since Nov. 14, 2008.

READ MORE: New $500M Skyscraper Proposed For Sunset Blvd. In Hollywood

Detroit barely hung on down the stretch of a back-and-forth game with the Lakers, who lost their fourth straight despite 26 points from Lou Williams.

D’Angelo Russell added 20 points for the Lakers. They have lost 20 of 25 since their 10-10 start to coach Luke Walton’s first season.

READ MORE: Buy Them Now: Shoppers Urged To Get A Jump On The Holidays Due To Global Shipping Problems

After Lakers rookie Brandon Ingram missed a free throw that would have tied it with 1:33 left, the teams traded missed shots before Harris grabbed a deflected ball from Ingram, beat the shot clock and bailed the Pistons out of an aimless possession with his 3-pointer in front of the Lakers’ bench.

The Pistons won without two injured starters, wrapping up their five-game road trip with a bounce-back performance from their 33-point loss at Utah on Friday, their worst defeat of the season.

MORE NEWS: LA County Sheriff's Employee Killed, Woman Hurt After Vintage Sports Car Careens Into Pole In Temple City

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)