AUBURN HILLS, Mich. - Tayshaun Prince scored 12 of his 25 points in the third quarter, helping the Detroit Pistons pull away from the Toronto Raptors in a 95-76 win Wednesday night.

Prince's play overshadowed the story of the game.

The Pistons used Richard Hamilton as a reserve after the all-star shooting guard started his first 611 games, including the playoffs, in his seven seasons with the team.

Detroit coach Michael Curry inserted six-foot-nine forward Amir Johnson in place of Hamilton and kept superstar Allen Iverson in the starting lineup.

Chris Bosh had 19 points for the Raptors, who have lost seven straight.

Prince led a balanced attack for the Pistons, who won their second in a row after losing five straight.

Rodney Stuckey scored 17 points, Jason Maxiell had season highs in points (16) and rebounds (11), Iverson scored 11 and reserve Antonio McDyess had 10 points and eight rebounds.

Hamilton scored seven points in his first game off the bench since Feb. 1, 2002, when he was playing for the Washington Wizards. The following off-season, they traded him to Detroit for Jerry Stackhouse.

Toronto's Andrea Bargnani scored 16 points and reserve Jermaine O'Neal had 11 points, playing for just the second time in 13 games. O'Neal has been slowed by a sore right knee.

The slumping Raptors got off to a solid start, leading 22-17 after the first quarter and trailing by three at halftime.

Prince helped the Pistons dominate in the third as they outscored Toronto 30-19 to earn a cushion big enough to set up an easy fourth quarter.

Notes: Raptors F Kris Humphries is out indefinitely with a broken leg. His right fibula was kicked Sunday against Phoenix. ... The Pistons had a 403-208 record with Hamilton in the starting lineup, leaning on his scoring average of 19 points. ... Toronto was also without G Jose Calderon (right hamstring sprain). ... Prince was two points away from matching his season high.