Paul Goldschmidt hit a tiebreaking homer in the seventh inning and Dylan Carlson added a three-run blast to help the St. Louis Cardinals rally past the Pittsburgh Pirates 7-5 on Monday night.
Brendan Donovan added a two-run double for St. Louis, which rallied from a 5-0 deficit.
Giovanny Gallegos (2-2) picked up the win with a scoreless inning of relief. Ryan Helsley recorded his fifth save in seven chances.
Zack Thompson was making his first major league start and allowed five runs on seven hits over five innings.
RHP Jack Flaherty will likely make his third and final rehab start on Wednesday at Triple-A Memphis. Flaherty has been sidelined since the start of the season with a right shoulder ailment.
St. Louis LHP Matthew Liberatore (1-1) will face RHP JT Brubaker (0-6, 4.60) in the first game of a day-night doubleheader on Tuesday afternoon, 11:20 with the pregame and the first pitch at 12:15. RHP Miles Mikolas (4-4, 2.93) takes on Pittsburgh RHP Bryse Wilson (0-3, 7.53) in the night contest, 5:50 with the pregame and the first pitch at 6:45, both games on KIRX.
The Cardinals picked up a half a game over idle Milwaukee to lead the division by a full game.