PITTSBURGH (AP) â" Clint Barmes' first career grand slam keyed a nine-run fourth inning and Neil Walker went 5 for 5 as the Pittsburgh Pirates rallied past the San Diego Padres 11-5 on Sunday.
Walker homered and doubled as the Pirates overcame an early 5-0 deficit and ended San Diego's six-game winning streak. The Padres had won 11 in a row at Pittsburgh dating to 2009.
Andrew McCutchen and Michael McKenry each drove in two runs during the big inning against Ross Ohlendrorf (4-3) and Cory Burns. Barmes, a 10-year veteran, has 88 career home runs.
Walker had the third five-hit game of his career and second this season, the other coming July 8 against San Francisco.
Pittsburgh stopped a three-game skid. On Friday night, San Diego rallied from six runs down for a 9-8 victory over the Pirates.
The Pirates sent 14 batters to the plate in the fourth inning. McKenry drew a bases-loaded walk from Ohlendorf just before Barmes' slam and then singled in the final run of the inning.
McCutchen, who leads the major leagues with a .362 batting average, ended a string of 11 hitless at-bats with a double in the fourth. He finished 2 for 6.
Erik Bedard (7-12) made it through five shaky innings for the win, allowing five runs â" three earned â" and five hits with four walks and six strikeouts. The left-hander improved to 5-0 in his career against the Padres.
Pitching in Pittsburgh for the first time since being released last October after going 13-27 in four seasons with the Pirates, Ohlendorf was tagged for seven runs â" six earned â" on five hits in three-plus inning while walking three and striking out one.
Logan Forsythe and Jesus Guzman had two hits each for the Padres and Chris Denorfia led off the game with his fourth home run.
Denorfia's homer started a four-run inning. Guzman hit an RBI single and two more runs scored when Barmes, the shortstop, made a throwing error on a groundball by Cameron Maybin.
Forsythe doubled with one in the second and scored when Chase Headley hit a tapper up the line that McKenry, the catcher, fielded and threw to the first for the out. Forsythe raced home when no one covered home plate.
Walker hit an RBI single in the second to pull the Pirates to 5-1 then moved in front 10-5 with the big fourth inning. The nine-run inning was Pittsburgh's biggest since it also scored nine on July 20, 2010, against Milwaukee.
Walker homered off Brad Boxberger to lead off the seventh.
NOTES: San Diego signed 1B-OF Mark Kotsay to a one-year contract before the game that carries through the 2013 season. The 36 year old is hitting .275 with one home run and nine RBIs in 55 games. . Pittsburgh activated RHP Juan Cruz from the 15-day disabled list and optioned RHP Jared Hughes to Triple-A Indianapolis. Cruz missed 23 games because of shoulder inflammation. . Pirates RF Travis Snider did not start because of tightness in his right hamstring but pinch hit in the sixth inning and walked. . The 113,539 series attendance was the second-highest for a three-game series in PNC Park's 12 seasons. . The Padres open a four-game series at Atlanta on Monday night with LHP Eric Stults (2-2, 2.72) facing Braves LHP Mike Minor (6-8, 4.95) . The Pirates begin a four-game home series with the Dodgers on Monday night with RHP Jeff Karstens (4-2, 3.77) pitching against Los Angeles RHP Aaron Harang (7-7, 3.80).