BOSTON -- Jonny Gomes hit a go-ahead two-run pinch homer in the sixth after another two-run shot in the inning by Xander Bogaerts and the Boston Red Sox beat the Kansas City Royals 5-4 on Friday night.
The Red Sox maintained their momentum after winning four of their last five games before the All-Star game. They entered the break in last place in the AL East but were coming off Clay Buchholz's 11-0 complete-game win over Houston, their season high for runs.
Buchholz (5-5) allowed four runs in six innings against Kansas City. Koji Uehara allowed Omar Infante's two-out double in the ninth but got his 19th save in 21 chances.
Scott Downs (0-3) gave up the homer to Gomes, the first batter he faced after replacing James Shields (see full recap).
Sandoval powers Giants past Marlins
MIAMI -- Pablo Sandoval hit a three-run homer off one of his favorite foils, and the San Francisco Giants beat the slumping Miami Marlins 9-1 Friday night.
All-Star Madison Bumgarner (11-7) allowed one run in six innings.
The Marlins lost their fifth game in a row, while San Francisco emerged from the All-Star break looking determined to end a prolonged scoring slump.
The Giants began the night averaging less than three runs per game in July, worst in the majors, but they've totaled 17 runs in their past two games.
Sandoval's 12th homer ended Nathan Eovaldi's night in the Giants' five-run fifth. Sandoval improved to 8 for 11 lifetime against Eovaldi with nine RBIs.
Brandon Crawford hit the 11th pitch he saw for a two-run homer in the second inning. Buster Posey and Michael Morse each had three of San Francisco's 13 hits (see full recap).
Pirates rally past Rockies
PITTSBURGH -- Travis Snider's pinch-hit double in the eighth scored Neil Walker to spark the Pittsburgh Pirates to a 4-2 victory over the Colorado Rockies on Friday night.
Walker trotted home when Colorado right fielder Carlos Gonzalez couldn't track down Snider's sinking line drive off reliever Matt Belisle (2-5). All-Star Josh Harrison added a sacrifice fly one batter later.
Tony Watson (6-1) picked up the win with a scoreless eighth inning. Mark Melancon got Troy Tulowitzki, representing the tying run, to ground out to third to end it for his 17th save.
Starling Marte tripled and drove in two runs before leaving in the eighth an inning after taking a fastball to the head.
Charlie Culberson and Corey Dickerson had two hits apiece for the Rockies but Colorado's bullpen couldn't give starter Jorge De La Rosa his fifth consecutive victory (see full recap).
Holliday, Cardinals top Dodgers
ST. LOUIS -- Matt Holliday homered and doubled with three RBIs, and Lance Lynn won his third straight start for the St. Louis Cardinals in a 3-2 victory over the Los Angeles Dodgers on Friday night.
Kolten Wong had two hits and scored on both of Holliday's RBI hits for the Cardinals against the team they beat in the NLCS last fall. They have won six of eight and remained a game behind the Brewers for the NL Central lead.
A.J. Ellis had an RBI double for the Dodgers, battling the Giants for the NL West lead. They remained offensively challenged coming out of the All-Star break, totaling 10 runs the last six games.
Holliday's seventh homer, estimated at 435 feet to straightaway center, came off Dan Haren (8-7).
Lynn (11-6) gave up two runs on four hits in six-plus innings (see full recap).