Reggie Jackson scored nine of his 24 points in the final quarter, Kentavious Caldwell-Pope finished with 20 and the Detroit Pistons rallied for a 99-94 win over the Boston Celtics on Wednesday night.

Andre Drummond was in early foul trouble and had an off night for the Pistons, scoring 13 points and grabbing five rebounds. Detroit has won three of four.

Isaiah Thomas led the Celtics with 22 points, scoring their final 15 over the last 7:24 after missing 14 of his first 15 shots. Evan Turner scored 17, and Amir Johnson and Jae Crowder each had 16.

The Celtics have lost three of four.

Thomas scored seven straight to erase a four-point Pistons lead. His spinning drive in the lane put Boston ahead 89-88, but Jackson nailed a 3-pointer from the left wing on the ensuing possession.

Jackson hit two free throws before Thomas’ basket in the lane cut it to 93-91 with 1:43 left.

After Thomas made one of two free throws, Stanley Johnson hit a 3.

Thomas made two of three free throws, but Aron Baynes had a pair from the line to make the Pistons’ lead comfortable in the closing seconds.

Jackson’s one-handed flip gave Detroit its first lead of the game, 83-82, with 6:01 to play. Anthony Tolliver hit a 3-pointer and Jackson followed with a fallaway, pushing it to 88-82 with 4:08 left.

The Pistons trailed by nine entering the fourth, but opened by scoring 13 of the initial 17 points, tying it on Drummond’s spinning power drive.

Boston led 55-48 at halftime and pushed it to 13 midway through the third before ending the quarter with a 75-66 edge despite shooting just 22.7 percent (5 for 22) in the period.

Coming off a season-high 26-point win at home against Orlando on Monday, Detroit looked sluggish in the first half — mainly because Drummond was in early foul trouble.

Drummond picked up his third foul early in the second quarter and had just two points and two rebounds in the opening half. Coming into the game, the 6-foot-10 center had an NBA-leading 30 double-doubles.

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

Join our Newsletter for the latest news right to your inbox