ST. LOUIS -- Ozzie Albies was not about to back down.
The Atlanta infielder finished a 10-pitch at-bat by singling in the tying run in the ninth inning to kick-start the Braves to a 4-3, 10-inning come-from-behind win over the St. Louis Cardinals on Sunday.
Albies forced extra innings by fouling off five consecutive 3-2 pitches rom Andrew Miller before ripping a one-out hit to right to tie the score at 3-3.
"The same way he was trying to get me out, I was trying to get my knock," Albies said. "I got the hit, we got the run. It was a huge win for us."
Atlanta, which trailed 3-0 before scoring three in the ninth to tie it, has won 12 of 16 and captured its fifth successive series by winning two of three from St. Louis.
"As he kept fouling off more and more pitches, you could tell his confidence kept growing," Atlanta infielder Freddie Freeman said. "He was throwing everything he had up there and he kept fouling it off. We were feeling pretty good in the dugout."
Braves' infielder Josh Donaldson also saw Albies' confidence growing with each pitch.
"He relished that moment against a guy that's got swing-and-miss stuff," Donaldson said.
The Braves won for only the second time in 19 games when trailing after eight innings.
"We were dead in the weeds for eight innings," Atlanta manager Brian Snitker said. "This is a resilient group. They played 27 outs. This was a good one."
Freeman reached on an infield single with one out and moved to second on a walk to Donaldson and advanced to third on Nick Markakis' fly ball to center field. After Austin Riley was intentionally walked to load the bases, McCann drew a five-pitch walk from Tyler Webb (0-1) that brought in Freeman with the go-ahead run.
Ronald Acuna Jr. had two hits for Atlanta.
The Cardinals have lost four of six and have not won back-to-back games since May 1.
Donaldson and Riley's run-scoring hits in the ninth came off closer Jordan Hicks.
St. Louis starter Jack Flaherty gave up three hits and struck out seven in a 91-pitch outing over six scoreless innings.
The Cardinals scored two unearned runs against Atlanta starter Julio Teheran in the fourth. Kolten Wong reached on a two-base error by Riley, who dropped a line drive in left field. Harrison Bader followed with a run-scoring single to right. He eventually scored on a wild throw to the plate by Donaldson at third.
Yadier Molina pushed the lead to 3-0 with a sacrifice fly in the fifth.
"This one stings a little more than most," St. Louis manager Mike Shildt said. "When you get to that point in the game, we've just got to be able to figure a way to bring it home."
Teheran gave up just two hits and three runs -- one earned -- in five innings. He walked four and struck out one.
Molina suffered a bruise on his right thumb in the fifth inning. He stayed in the game.
"Just a bruise, no damage," Molina said.
The Cardinals announced that rookie LHP Genesis Cabrera will start on Wednesday at Philadelphia. He is replacing RHP Michael Wacha, who has been sent to the bullpen. Cabrera was 2/3 with a 6.35 ERA in seven starts at Triple-A Memphis.
Braves: Optioned RHP Chad Sobotka to Triple-A Gwinnett. Sobotka had been on the injured list since April 29 with a left abdominal strain.
Braves: LHP Max Fried (7-2, 2.88) will start the opener of a two-game set at home against Washington on Tuesday. He will be opposed by RHP Stephen Strasburg (4-3, 3.25). Fried has won his last three starts and allowed five earned runs over 17 innings.
Cardinals: RHP Adam Wainwright (4-4, 4.82) will start against Philadelphia RHP Nick Pivetta (2-1, 8.35) in the first of a three-game series on Tuesday in Philadelphia. Wainwright is 7-2 with a 2.90 ERA in 13 career starts against the Phillies.
More AP baseball coverage: www.apnews.com/MLB and www.twitter.com/AP-Sports
Which MLB free agents will struggle to get the deal they want?
The past few hot stove seasons have left some big-name free agents out in the cold. We look at which players are most likely to get frozen out this year.
Commissioner Rob Manfred faces test over cracking down on cheating MLB teams
The commissioner has punished teams and executives in the past, but it hasn't deterred clubs from finding new ways to bend or break the rules.
Astros exec suggested using cameras to spy in '17, sources say
An Astros front-office executive emailed scouts and asked them to spy on opponents' dugouts leading up to the 2017 postseason, sources familiar with the request told ESPN.
Vera Clemente, widow of Pirates legend, dies at age 78
Vera Clemente, the widow of Baseball Hall of Famer Roberto Clemente, died Saturday in her native Puerto Rico, the Pirates confirmed. She was 78.
Judge says MASN should pay Nats based on MLB panel decision
A judge has ordered lawyers for the Nationals and Baltimore Orioles to submit a proposed judgment of what the Mid-Atlantic Sports Network should pay Washington for TV rights from 2012 to '16 based on the decision issued in April by an arbitration panel.
AL West offseason preview: Can Angels land an ace?
Will Gerrit Cole end up with the Angels? Can the Astros afford to keep their team together? We answer big offseason questions for the AL West.