TORONTO (AP) Embarrassed by Toronto at home last month, the Detroit Pistons got their revenge on Monday night.
Brandon Jennings had 34 points and 10 assists, leading the Pistons to a 114-111 victory over the Raptors.
Greg Monroe had 22 points and 10 rebounds as Detroit won for the ninth time in 10 games. Andre Drummond added 10 points and 14 rebounds, helping the Pistons end a four-game losing streak against Toronto.
It was a much different performance than their first meeting of the season, when Detroit lost 110-100 on Dec. 19. In that game, hundreds of hollering Raptors fans filled the Palace and celebrated wildly when James Johnson threw down a vicious dunk on Drummond.
''Guys thought it was a little disappointing and embarrassing,'' Jennings said. ''We wanted to come here and get a win tonight.''
Jennings played a key role with 20 points in the second half, including 15 in the game-changing third quarter.
''Brandon was unbelievable,'' Detroit coach Stan Van Gundy said. ''He just put us on his back and carried us.''
Jodie Meeks scored 11 of his 13 points in the fourth, and Jonas Jerebko had eight of his 10 in the final period of Detroit's sixth straight road win
Jonas Valanciunas scored a career-best 31 points and had 12 rebounds for the Raptors, who lost for the fifth time in six games. Kyle Lowry had 10 points and 12 assists, Greivis Vasquez scored 16 and Lou Williams had 15.
Amir Johnson had 12 points and 10 rebounds for Toronto, and Terrence Ross scored 12.
Raptors coach Dwane Casey said carelessness was costly for his team, which finished with 19 turnovers.
''When you commit that many turnovers against a good team like that, you shoot yourself in the foot and that's what we did tonight,'' Casey said.
The Pistons led 112-108 after a 3 by Meeks with 53 seconds left, but Lowry answered with a 3 to cut the deficit to one. Kentavious Caldwell-Pope and Lowry both missed shots before Caldwell-Pope was fouled with 6 seconds left. Caldwell-Pope made two free throws and Jennings stole the ball from Lowry at midcourt to end the game, spiking the ball in celebration as the buzzer sounded.
Van Gundy said Jennings is ''playing as well as I've seen him play since he came into the league.''
Valanciunas, Johnson and Terrence Ross combined to score Toronto's first 30 points of the game before Lou Williams capped the opening quarter with a driving layup in the final second. Valanciunas had 14 in the first as the Raptors led 32-20 after one.
Williams scored nine points in the second and Valanciunas had eight. Monroe scored nine for the Pistons, while Jennings added eight, but Detroit trailed 60-48 at halftime.
Jennings scored seven points and Detroit took advantage of four Toronto turnovers with a 15-6 run to start the third. Jennings tied it at 70 with a 3 with 5:27 left in the quarter, and then gave Detroit its first lead since the opening basket of the game with a pair of free throws.
''He came out on fire in the third,'' Meeks said of Jennings.
KEEPING IT SIMPLE:
Van Gundy didn't offer up much of a strategy session to his team after the disappointing first half. ''We got real technical,'' Van Gundy joked. ''We said `We've got to try.' There were no Xs and Os to talk about. Nothing.''
Pistons: Caron Butler (left hamstring) was unavailable in the second half. ... The Pistons snapped Toronto's streak of 38 home victories when leading after three quarters. Detroit is also the previous visiting team to overcome a fourth-quarter deficit at Air Canada Centre, rallying to beat the Raptors on April 1, 2013.
Raptors: Lowry had nine assists in the first, two shy of Doug Christie's team record for assists in a single quarter. ... Toronto led after one quarter for the first time since Dec. 28 at Denver. It had been outscored in the first in nine of its previous 11 games.
Pistons: Host the Pelicans on Wednesday night.
Raptors: Host the 76ers on Wednesday night.