The Pirates won despite leaving 17 men on base. The Phillies went 0-for-9 with men in scoring position and stranded 13 runners.
Stewart, in a pinch-hitting role, singled to deep shortstop with one out. He went to second on Gregory Polanco's groundout. Marte, who went 3-for-7, then hit a grounder that squeezed between second baseman Andres Blanco and shortstop Freddie Galvis into center field. There was no play at the plate, as the Pirates celebrated and gave manager Clint Hurdle his 900th career victory.
Jeff Locke went the first six innings for the Pirates. Antonio Bastardo (1-1) tossed the top of the 13th for the victory.
The Pirates loaded the bases in the eighth, but Ken Giles struck out Jordy Mercer to cap the inning.
The Phillies put two men on in the ninth, but pinch-hitter Chase Utley grounded out to extend his slump at the plate to 0-for-22.
The Bucs also failed despite filling the bases in the bottom of the 10th when pinch-hitter Corey Hart struck out facing Jeanmar Gomez.
These teams split four games in Philadelphia from May 11-14 ... The start of the game was delayed 1 hour, 26 minutes ... Josh Harrison had four hits for the Pirates.