St. Louis Cardinals Matt Holliday swings for a three run home run in the eighth inning against the Pittsburgh Pirates. UPI/Bill Greenblatt

After jumping out to a 3-0 lead, the Cardinals had to rally and then added insurance late with a three run homer from Matt Holliday as the Cardinals snapped a three game losing streak beating the Pittsburgh Pirates 8-4.

Edwin Jackson picked up his third win after David Freese blooped a bases loaded hit down the right field line that put the Cardinals up for good 5-4. Freese committed an error earlier in the game that led to three unearned Pirate runs.

The Cardinals rally in the fifth started when Allen Craig singled. Pittsburgh starter Charlie Morton (9-7) then walked Albert Pujols and Lance Berkman to set the stage for Freese’s key hit. Holliday’s 19th homer of the year came in the bottom of the eighth.

Jackson has been a good acquisition for the Cardinals. He has allowed three earned runs or fewer in five of his six starts with St. Louis.