John Jay’s RBI double in the 10th inning gave the Cardinals a 5-4 win over the Chicago Cubs 5-4 on Saturday, after Carlos Beltran hit a game tying solo homer in the ninth to rebound from a heartbreaking 11-inning loss at Wrigley Field the previous day.

Mitchell Boggs (4-1) got the last out of the ninth. Jason Motte struck out the side in the 10th for his 39th save after Fernando Salas blew a save situation on Friday, by allowing a two-out, two strike homer to Darwin Barney.

Beltran made it 4-4 with his 30th homer, a one-out shot off Carlos Marmol that wrapped just inside the right-field foul pole. Marmol had been successful on 19 straight save chances dating to May 2.

Catcher Yadier Molina left in the ninth with lower back spasms. He exited after trying to get away from a pitch from Marmol that nearly hit him.