Adam Frazier had three hits and scored the winning run on Nick Gonzales' sacrifice fly in the ninth inning, helping the Pittsburgh Pirates rally for a 5-4 victory over the Philadelphia Phillies on Friday night.
David Bednar (1-4) struck out the side in the ninth for the Pirates.
Frazier and Jared Triolo started the ninth with singles off Jordan Romano (0-3). Isiah Kiner-Falefa loaded the bases with a bunt before Oneil Cruz struck out looking. Gonzales then lifted a 2-2 slider to the warning track, allowing Frazier to score.
Trea Turner gave Philadelphia an early lead, getting on with a single for his first of three hits and taking third on a double steal in the first before scoring on a grounder from Nick Castellanos. The Pirates' Bryan Reynolds hit an RBI single the next inning.
Turne