St. Louis Cardinals Tony Cruz slides home scoring from second base on a single by Pete Kozma in the sixth inning at Busch Stadium in St. Louis on August 11, 2013.  St. Louis won the game 8-4. UPI/Bill Greenblatt

St. Louis Cardinals Tony Cruz slides home scoring from second base on a single by Pete Kozma in the sixth inning. UPI/Bill Greenblatt

Pete Kozma singled home the tie-breaking run in the sixth as the Cardinals snapped their losing streak and avoid being swept by the Chicago Cubs, winning 8-4 Sunday afternoon at Busch Stadium.

Matt Carpenter and Allen Craig each had three hits and drove in a run. Jon Jay and David Freese both drove in two runs. Tony Cruz doubled with two outs in the sixth off Blake Parker (1-2) and scored on Kozma’s single.  Jay added a sacrifice fly in the seventh off Hector Rondon and the Cardinals got RBIs from Carpenter and Craig in the eighth off Michael Bowden.

The Cardinals jumped on former teammate Edwin Jackson with three runs in the first on two singles, a walk, a steal and a sacrifice fly.

Matt Holliday had one of the RBIs, but gave the Cubs an unearned run in the third when he lost Junior Lake’s two-out high fly in the high sky and David DeJesus scored from first. The Cubs tied the game at 4-4 on RBI singles by Castro and Darwin Barney off Seth Maness in the sixth.