SAN FRANCISCO – Matt Cain pitched four-hit ball into the eighth inning for the surging San Francisco Giants, earning his first career win against the Los Angeles Dodgers in a 2-0 victory Sunday night that completed a three-game sweep.
Edgar Renteria hit a two-run triple in the sixth for San Francisco, which moved to 8-2 in its last 10 games.
Cain (9-8) allowed four hits in 7 2-3 innings, improving to 3-0 with a 1.52 ERA in his last four starts. The right-hander also raised his career record against San Francisco's longtime rival to 1-8 with a 3.94 ERA in 15 games.
Newly acquired Javier Lopez got the last out of the eighth and Brian Wilson finished the four-hitter for his 31st save.
The Dodgers, who made three trades in the final four days before Saturday's deadline, were shut out for the 11th time this season. They scored two runs over the final 18 innings of the series and dropped eight games behind first-place San Diego in the NL West.
It's the Giants' first sweep of the Dodgers since April 24-26, 2007, and their first at home since 2004.
The timing couldn't have been better. San Francisco maintained its two-game lead over Cincinnati in the wild-card race and stayed 1½ games back of the Padres.
Cain was the first pitcher in San Francisco history to lose his first eight decisions against the Dodgers, including a 4-2 setback on June 29 when he allowed four runs in five innings.
Cain was much better this time around, facing four batters over the minimum before giving way to the bullpen. He allowed just four singles while throwing a season-high 124 pitches and the Dodgers only managed to get one runner to third base.
Scott Podsednik led off the fourth with an infield single, stole second and took third on a groundout but was stranded when Cain retired Dodgers newcomer Ryan Theriot on a comebacker and got Rafael Furcal to fly out.
Lopez, acquired from Pittsburgh on Saturday, got the ball to Wilson, who struck out two in his first game since he was hampered by back spasms Wednesday.
Clayton Kershaw (10-6) allowed six hits in seven innings for the Dodgers.
His lone mistake came in the sixth after Pat Burrell hit a one-out double and Aaron Rowand was intentionally walked. Renteria hit a 1-0 pitch into the gap in left-center and center fielder Matt Kemp appeared to momentarily lose sight of ball in the early evening shadows, allowing it to roll to the fence as both runners scored.
Kershaw had allowed only three runs in 13 previous innings against the Giants this season.
The Dodgers finished 1-5 on their six-game road trip.
NOTES: LHP Ted Lilly will make his Dodgers debut Tuesday in Los Angeles against San Diego. Lilly, who was drafted by the Dodgers in 1996, was acquired from the Chicago Cubs before the trade deadline. ... Dodgers SS Rafael Furcal batted third for the first time this season after hitting in the leadoff spot most of the year. ... Renteria's triple was the 28th of his career. ... All three games of the series sold out and drew 128,651 fans total, the largest attendance for a three-game set at AT&T Park this season. ... Nine of the Giants' 10 runs in the series came with two outs. ... Theriot went hitless in four at-bats with two strikeouts in his first game with Los Angeles.