CHICAGO -

Darwin Barney had three RBIs and the Chicago Cubs used shortstop Jhonny Peralta's two throwing errors in the eighth inning to push across the winning run in a 4-3 victory over the Detroit Tigers on Tuesday night.

With two outs and two on, Tony Campana hit a grounder to Peralta, whose throw pulled Ramon Santiago off the bag at second. Starlin Castro then hit another grounder to Peralta and the veteran infielder threw wide of first, allowing Barney to scamper home.

Carlos Marmol (1-2) got the last two outs of the eighth for the victory and Shawn Camp finished for his first save as the Cubs snapped a seven-game losing streak against Detroit in their first matchup since the Tigers swept a three-game series at Comerica Park from June 23-25, 2009.