PITTSBURGH: Los Angeles’ Shane Victorino hit his 10th homer of the season and drove in three runs to lift the Dodgers to a 5-4 win over the Pittsburgh Pirates in the National League on Monday.

Victorino, acquired in a trade from Philadelphia two weeks ago, hit his first homer with the Dodgers in the fifth inning. The two-run shot off Jeff Karstens (4-3) broke a 2-2 tie and helped Los Angeles beat the Pirates for the seventh straight time.

The Dodgers moved within 1½ games of the Pirates for one of the two National League wild card spots.

L.A. starter Aaron Harang (8-7) pitched six effective innings. Kenley Jansen worked a perfect ninth for his 24th save.

Padres 4 Braves 1: In Atlanta, Eric Stults was commanding on the mound, steering San Diego to victory over Atlanta.

Stults (3-2) gave up one run in 7 2-3 innings — his longest start in three years.

Chase Headley homered and drove in two runs for the Padres.

Atlanta starter Mike Minor (6-9) gave up nine hits in six innings

Phillies 4 Marlins 0: In Miami, Cole Hamels pitched his second consecutive shutout for Philadelphia in a win over Miami.

Hamels, coming off a five-hitter against Atlanta last Tuesday, struck out five in his sixth career shutout and 12th complete game. He walked just one and threw 85 of 113 pitches for strikes.

Juan Pierre had three hits for the Phillies, who had lost their previous five against the Marlins.

Miami’s Nathan Eovaldi (3-8) allowed eight hits in five innings.

Rockies 9 Brewers 6: In Denver, D.J. LeMahieu had a career-best four hits in Colorado’s win over Milwaukee.

The Rockies had 15 hits. Every position player for the Rockies had at least one hit as they ended a four-game home losing streak.

Milwaukee starter Mike Fiers (6-5) came into the game 2-0 with a 1.93 ERA in August but was hit hard early. He allowed eight runs in less than three innings.

Colorado starter Jeff Francis (4-4) allowed six hits in 5 1-3 innings.

Cubs 7 Astros 1: In Chicago, Jeff Samardzija (8-10) struck out a career high-tying 11 and allowed just one run in seven innings as Chicago beat Houston.

Darwin Barney and Alfonso Soriano hit two-run homers, and Anthony Rizzo had four hits for the Cubs, who had their smallest home crowd of the season in a matchup of two struggling teams.

The Astros have lost 25 of its last 27 road games and the worst record in the majors.

Houston starter Armando Galarraga (1-2) was tagged for five runs.