Yoshi Tsutsugo hit a three-run homer off Alex Reyes in the ninth inning, sending the Pittsburgh Pirates to a 4-3 victory over the St. Louis Cardinals on Sunday.
Bryan Reynolds started the game-ending rally with a leadoff walk. After Colin Moran struck out swinging, Jacob Stallings walked and Tsutsugo drove Reyes' next pitch deep to right.
Reyes (5-7) has allowed at least one run in four of his last six appearances.
Chris Stratton (5-0) got the win, striking out the side in the top half of the inning.
Stratton and fellow relievers Chad Kuhl and David Bednar combined to allow one hit over four innings.
Pittsburgh earned a split of the four-game series, bouncing back from a 13-0 loss Saturday.
St. Louis remains 3 1/2 games back of Cincinnati for the second NL wild card. The Reds lost 2-1 to the Miami Marlins on Sunday.
The game was tied at 1 before Tommy Edman hit a two-run homer for St. Louis in the fifth, sending a 418-foot drive into the seats in right-center. Edman's ninth homer of the season gave him nine RBIs in his past four games.
Edman also doubled and scored on Tyler O'Neill's first major league triple in the third.
The Pirates opened the fourth with three consecutive singles, and Tsutsugo got his team on the board with a sacrifice fly.
Pittsburgh right-hander Wil Crowe, who allowed five hits in five innings, had left for the clubhouse by the time Tsutsugo homered.
Kwang Hyun Kim pitched four innings of one-run ball for St. Louis in his return to the rotation. Kim, who made his last appearance out of the bullpen, got the start after Jack Flaherty was placed on the 10-day injured list with a right shoulder strain.
Jon Lester (4-6, 5.27 ERA) will take the mound Monday for the first of a three-game series at Cincinnati. After allowing 11 runs in his first two starts for St. Louis, the 37-year-old has surrendered six runs in three starts since.