St. Louis — Rookie Jeff Locke pitched seven innings of three-hit ball and Russell Martin had two of Pittsburgh’s four home runs in a victory over St. Louis Cardinals that gave the Pirates a series win and the NL Central lead.

Jones had three hits and John McDonald added an RBI double for Pittsburgh, which ended rookie Shelby Miller’s streak of 14 scoreless innings at home to start the season. The Pirates have won nine of 12 overall.

Locke (3-1) has worked 13 scoreless innings while allowing five hits his last two starts. The Cardinals got just three singles and advanced two runners into scoring position against the 25-year-old left-hander.

Dodgers 2, Brewers 0: In Los Angeles, Clayton Kershaw retired 18 consecutive batters and struck out 12 in eight dominant innings, Carl Crawford homered twice against Kyle Lohse and the Los Angeles Dodgers beat Milwaukee.

Kershaw (3-2) scattered four hits and didn’t walk a batter while lowering his ERA to 1.73. The 2011 Cy Young Award winner, who led the NL in ERA in each of the previous two seasons, hasn’t allowed more than three earned runs in any of his last 18 starts — the longest active streak in the majors.

Lohse (1-2) gave up five hits and no walks while striking out four.

Padres 6, Giants 4: In San Diego, Chase Headley, Nick Hundley and Alexi Amarista homered off Ryan Vogelsong and San Diego beat San Francisco for its first three-game sweep of the Giants since May 2010.

Headley had three hits and Amarista scored three runs for the Padres, who’ve won four straight.

Pablo Sandoval had an RBI single among his career high-tying four hits for the defending World Series champion Giants lost their season-high fifth straight game. They’ve lost eight of 12 following a 9-4 start.

Buster Posey extended his hitting streak to nine games with a two-run homer to pull the Giants to 6-4 in the eighth.

Diamondbacks 4, Rockies 2: In Phoenix, Gerardo Parra tripled and scored twice, and Josh Wilson had a run-scoring double to help lead Arizona to a win over Colorado.

Rockies All-Star shortstop Troy Tulowitzki was lifted in the bottom of the third inning because of a strained left shoulder.

Patrick Corbin threw five scoreless innings before tiring in his final inning-plus. Corbin (3-0) allowed two runs on nine hits over 6.2 innings and struck out five for his first win in four starts against the Rockies.

J.J. Putz pitched the ninth for his fifth save for the Diamondbacks, who took three of four from the Rockies and have won five of their past six, none by more than two runs.

Phillies 5, Mets 1: In New York, Ryan Howard snapped a seventh-inning tie with a pinch-hit double, Cole Hamels earned his first win of the season and Philadelphia took advantage of a crucial Mets error to beat New York and finish a three-game sweep.

Freddy Galvis homered, Chase Utley had an RBI single and Hamels (1-3) overcame six walks, which matched his career high. The left-hander held the Mets to two hits and struck out eight over six innings in his fourth consecutive solid outing.

Reds 5, Nationals 2: In Washington, Tony Cingrani struck out a career-high 11 — including four in one inning — while pitching two-hit ball through the sixth, and Cincinnati beat Washington to avoid a four-game sweep.

Brandon Phillips had a two-run single as the Reds (14-12) improved to a major league-worst 2-9 on the road.

Cingrani (2-0) pitched three perfect innings before Denard Span reached base to lead off the fourth — on a strikeout and wild pitch. Danny Espinosa followed with a double, but Cingrani struck out three more hitters to escape the inning without allowing any runs.

Marlins 6, Cubs 4: In Miami, Giancarlo Stanton homered twice and drove in four runs Sunday, and the Miami Marlins beat the Chicago Cubs to avert a four-game series sweep.

Ricky Nolasco (2-2) gave up three runs in seven innings and retired the final 15 batters he faced. The Marlins improved to 6-19, still worst in the majors, and 3-10 at home.

They benefited from a rare offensive outburst, scoring more than three runs for only the fifth time this season and twice coming from behind.

Stanton led the way, showing further signs he has shaken a prolonged slump to start the season.