Updated

SAN FRANCISCO (Reuters) - The Atlanta Braves scored three runs in the 10th inning to complete a three-game sweep of the San Francisco Giants with a 9-6 victory on Sunday.

Nate McLouth came through with a two-run single to break a 6-6 tie in the 10th, and Brian McCann added an RBI in the extra inning as the Braves (11-12) swept the Giants for the first time at AT&T Park.

Atlanta had lost four of their previous five games before their series with the World Series champions.

"We came up here and took three games from the world (series) champs," Atlanta's Chipper Jones told reporters. "So confidence is a lot different than it was a week ago."

The Braves held the Giants to three runs in their two previous victories in the series but used their offense in Sunday's win.

Jason Heyward went 3-for-5 with three RBIs and Jones added two hits and two RBIs for the Braves who took a 5-2 lead in the seventh on Heyward's three-run home run.

The Giants (10-11) rallied by scoring four times in the seventh to take a 6-5 edge before Braves second baseman Dan Uggla hit a game-tying homer in the eighth.

Atlanta rookie pitcher Brandon Beachy tossed six innings and allowed two runs while striking out seven batters in a no-decision.

Reliever Eric O'Flaherty pitched the eighth and ninth innings and recorded the win and Jonny Venters picked up the save in the 10th.

Brian Wilson was charged with the three runs allowed in the 10th and took the loss for San Francisco, who have now lost four successive games.

(Editing by Mark Lamport-Stokes/Greg Stutchbury)