SAN FRANCISCO (AP) -- Travis Wood pitched a four-hitter over seven innings and had a home run among his two hits in helping the Chicago Cubs complete a three-game sweep in San Francisco for the first time in 20 years, beating the Giants 2-1 Sunday.
Welington Castillo also homered for the Cubs, who won their third straight and five of seven.
Pablo Sandoval drove in a run for the Giants, who have lost four straight and seven of eight.
Tim Lincecum (5-11) had two hits in addition to pitching seven innings. He gave up two runs and four hits. He walked two and struck out a season-high 10.
Wood (7-7) allowed an unearned run while walking four and striking out seven. Wood was 1-4 over his previous nine games. He's been involved in 10 one-run decisions.