Brendan Donovan tied the score with his fourth double of the game in the ninth inning and Alec Burleson put St. Louis ahead with a run-scoring single as the visiting Cardinals rallied for two in the ninth inning to stun the San Francisco Giants 9-8 on Tuesday.
Ivan Herrera and Nolan Arenado hit home runs for the Cardinals (78-80), who remained 3 1/2 games behind the New York Mets (81-76) in the National League wild-card race. St. Louis has just four games remaining.
Heliot Ramos launched his 20th home run for the Giants (77-81), who were eliminated from postseason contention.
After a four-run Cardinals seventh erased all but one run from an 8-3 Giants advantage, the visitors jumped on Giants closer Ryan Walker (5-7) in the ninth. Victor Scott II produced a leadoff single, and Donovan fo