ST. LOUIS -- Ryan Braun hit a 3-2 pitch into the bleachers in left-center field for a grand slam off reliever Junior Fernandez in the top of the ninth inning Sunday as the visiting Milwaukee Brewers rallied for a 7-6 win before a crowd of 46,722 at Busch Stadium.
The homer, which put the Brewers on top 7-4, set a franchise record for Milwaukee. It was the 232nd long ball of Braun's career.
In the bottom of the ninth, Tommy Edman hit an 0-2 pitch into the stands in right after Yadier Molina walked to cut the Milwaukee lead to one run. But reliever Josh Hader struck out the next two hitters to end the contest.
The Brewers, who took two of three in the weekend series, loaded the bases with one out on three walks against John Gant, who was called on to try and close the game with Carlos Martinez out with the flu.
With the bases loaded and one out, Tyler Webb retired Mike Moustakas on a shallow fly ball to Harrison Bader in shallow left-center. Fernandez came on and delivered the game-changing pitch to Braun, who connected for his 20th homer of the season.
Hader came on to pitch the bottom of the ninth for the Brewers, picking up his 33rd save of the season.
Paul DeJong hit the first pitch he saw in the seventh inning from Milwaukee reliever Ray Black for a home run down the left-field line, putting the Cardinals back on top 3-2 Sunday at Busch Stadium.
Marcell Ozuna walked to open the inning for the Cardinals.
Two outs after DeJong's blast, Harrison Bader connected for his second solo shot of the day to make it 4-2. It was the first two-homer game as a big-leaguer for Bader, who also went deep to lead off the Cardinals' third inning.
In the Milwaukee eighth inning, after Bader and right fielder Dexter Fowler combined to misplay Mike Moustakis' fly ball to right center, the Brewers got a run back on a two-out RBI single from Lorenzo Cain to make it 4-3.
Bader picked up an error on the play, making the run unearned.
Milwaukee had rallied to go up 2-1 in the top of the seventh, getting a two-run homer from Cory Spangenberg.
Marcell Ozuna walked against Brewers' reliever Ray Black to open the Cardinals' seventh. DeJong's hit was just the second of the day for the Cardinals.
The Brewers' Eric Thames led off the visitors' seventh inning with a single to right. Reliever Genesis Cabrera was replaced by fellow rookie Ryan Helsley, who got Lorenzo Cain to pop out before giving up the two-run homer Spangenberg on a 3-1 delivery.
After Hernan Perez singled, Helsley was replaced by Giovanny Gallegos, who allowed a single to pinch-hitter Keston Hiura before retiring Trent Grisham on a foul popup and Yasmani Grandal on a called third strike.
The Cardinals had gone on top 1-0 en the lead in the third inning, getting a leadoff homer from center fielder Bader.
It was the Cardinals' first _ and only _ hit of the game through six innings.
Milwaukee had one-out hits in each of the game's first three innings. But Cardinals starter Michael Wacha has pitched around them.
Brewers' starter Chase Anderson struck out six through the game's first four innings.
In the Milwaukee fifth, after leading off with an infield hit, the Brewers' Cory Spangenberg was called out on appeal after failing to re-touch second base on a flyout to right by Hernan Perez. The double-play call took on added significance when pinch-hitter Tyler Austin followed with a double to center field.
Austin moved to third on a wild pitch, but was stranded when Trent Grisham flew out to right the end the inning.
The Brewers outhit the Redbirds 12-5 in the game, getting two hits and a two-run homer from Cory Spangenberg and a two-hit game from Eric Thames and Lorenzo Cain. Matt Albers (7-5) picked up the win.