PITTSBURGH — Neil Walker had two hits and drove in three runs as the Pittsburgh Pirates snapped a four-game losing streak with a 9-3 victory over the Baltimore Orioles on Tuesday night.

Chris Resop (3-2) picked up the victory in relief after starter James McDonald couldn't get through the requisite five innings even though he was staked to an early five-run lead.

Jose Tabata, Garrett Jones and Xavier Paul all knocked in two runs apiece for the Pirates, who have won three interleague games this year, one more than they managed last season.

Baltimore's Jeremy Guthrie (2-9) settled down after a rocky first inning and allowed six runs — five earned — while walking three and striking out two in 6 1-3 innings.