ST. LOUIS (AP) — Kolten Wong hit a leadoff home run in the ninth inning and the resilient St. Louis Cardinals beat the San Francisco Giants 5-4 to square the NL Championship Series at one game apiece.

It was the third home run in the final three innings for the Cardinals. Pinch-hitter Oscar Tavaras delivered a tying home run in the seventh. Then Matt Adams briefly put St. Louis ahead 4-3 with a blast in the eighth.

Closer Trevor Rosenthal blew a save in the ninth as the Giants scored the tying run on a wild pitch before being bailed out by Wong in the ninth.

St. Louis was last in the NL with 105 home runs during the regular season. But the Cards have hit 11 homers in six playoff games — seven in the seventh inning or later.

The only downer for the Cards was the loss of their All-Star catcher Yadier Molina. He left in the sixth inning with a strained oblique muscle on his left side.

Game 3 is Tuesday in San Francisco.