Tony Sanchez's tiebreaking single scored Starling Marte in the bottom of the seventh to give the Pittsburgh Pirates the lead for good and the Pirates edged Baltimore 9-8 on Wednesday night.

Andrew McCutchen went 3 for 4 with an RBI and his first two extra-base hits in more than two weeks for Pittsburgh, which won for only the third time in its past nine games. Marte and Ike Davis had three hits and two RBIs apiece for the Pirates.

Advertisement

Bryan Morris (4-0) earned the victory after allowing the Orioles to tie the game in the top of the seventh. Mark Melancon worked a perfect ninth for his seventh save.

Nelson Cruz hit his 14th homer of the season and drove in three runs for the Orioles. Nick Markakis, Chris Davis and JJ Hardy had two hits and one RBI apiece but Baltimore left 10 men on base and Ryan Webb (2-1) surrendered Sanchez's sharp single to right in the seventh shortly after the Orioles had rallied to tie the game.