By BOB DUFF, Associated Press

DETROIT (AP) — Rookie Josh Bell hit his 20th home run and drove in three runs Thursday, leading the Pittsburgh Pirates to a 7-5 victory over the Detroit Tigers.

READ MORE: Police Search For Suspect, 2 Persons Of Interest After 19-Year-Old Fatally Shot In Downtown Detroit

Gerrit Cole (10-8) allowed six hits and three earned runs in eight innings, his longest outing of the season. He improved to 3-1 since the All-Star break and is 6-3 in his last 10 starts. Felipe Rivero closed for his 11th save. Drew VerHagen (0-2) took the loss.

READ MORE: Genesee County Sheriff's Office Rescues 18 Kids On Its 30 Most Vulnerable List During GHOST Operation

Sean Rodriguez of the Pirates had a run-scoring single in the second to make it 2-2. Rodriguez hit a solo homer in the eighth for his fourth of the season.

A run-scoring double by Victor Martinez and an RBI ground out by James McCann produced two runs in the ninth for Detroit.

MORE NEWS: Suspect In Highland Park Mass Shooting Wore Women's Clothes To Avoid Detection, Police Say

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