CHICAGO (AP) - Yadier Molina drove in two runs with a two-out single in the ninth inning and the St. Louis Cardinals snapped out of an offensive funk with a 5-4 victory over the Chicago Cubs on Sunday night.
The defending National League champions had lost four of five to fall a game below .500. The Cardinals scored all their runs with two outs.
Molina, moved into the No. 2 spot to jump start the lineup, was 0 for 4 before coming through in the ninth.
Kevin Siegrist (1-1) got the win in relief, while Trevor Rosenthal picked up his eighth save in as many opportunities despite a scare in the ninth inning.
Hector Randon (0-1) took the loss for the Cubs, who were attempting to win four straight games for the first time since July.
While Cardinals manager Mike Matheny had looked for Molina, one of his hottest hitters, to get the offense going, it was a couple of struggling batters at the bottom of the lineup that got things started early.
With two outs in the second inning and Jhonny Peralta on first base, Randal Grichuk drilled a triple into the right-center field gap for a 1-0 lead. Mark Ellis followed with a double to left-center to make it 2-0.
Both Grichuk (.167) and Ellis (.143) entered hitting well below .200.
St. Louis stretched the lead to 3-0 in the third. After the first two batters were retired, Matt Holiday walked and Matt Adams followed with a double into the gap in left-center to score Holiday.
The Cubs pulled within 3-2 in the fourth with some clutch two-out hitting. With one out, Ryan Kalish singled and John Baker walked. After a groundout moved the runners to second and third, Hammel singled to right to drive in both.
The Cubs tied the score in the seventh when Luis Valbuena tripled with two outs and scored on a wild pitch by reliever Carlos Martinez on the first pitch to Starlin Castro.
Molina's go-ahead single to center came on the sixth 1-2 pitch of the at-bat from Randon.
Valbuena doubled in a run with two outs in the ninth to make it 5-4, but Rosenthal got Rizzo to ground out to end the game.
NOTES: The ESPN broadcast team of Dan Shulman and John Kruk worked from the bleachers. ... While making a rehab start Sunday with Double A Springfield, LHP Jaime Garcia (shoulder) was hit by a pitch on the left elbow and left after two innings and 28 pitches. "I think they went in and took precautionary X-rays," Matheny said. "I haven't heard anything back yet." . In the same game, RHP Jason Motte threw a scoreless inning, striking out three, in his first rehab outing. . Rizzo entered with a .429 on-base percentage, which was fifth-best in the National League. . The Cards open a series in Atlanta on Monday, with RHP Shelby Miller (3-2) facing RHP Aaron Harang, while the Cubs host the crosstown White Sox with RHP Jeff Samardzija (0-3) going up against LHP Jose Quintana (1-2).