An infield single by rooking Kolten Wong with two outs, led the Cardinals on a wild, eighth inning rally as they scored four times to overcome the Milwaukee Brewers 8-6 on Monday night at Miller Park.

Milwaukee reliever Brandon Kinzler gave up a lead off single to Yadier Molina to start the inning with the Brewers up 5-4, but Jon Jay grounded into a double play. Wong hit a high chopper to third and was ruled safe at first. Wong’s hit was the first of six consecutive hits, capped by David Freese’s pinch hit, two-run double, to put the Cards on top 8-5.

Milwaukee’s Aramis Ramirez hit a two run homer off Michael Wacha in the bottom of the seventh, part of a three run inning that gave the Brewers a brief 5-4 lead.

Carlos Beltran and Jon Jay each homered and Yadier Molina had four hits. Wong also picked up his first major league hit in the sixth on a grounder in the hole at short that he beat out, snapping an 0 for 10 streak since arriving in the majors last Friday.

“That’s what they brought me up here for, to get on base, so the guys behind me can drive me in,” Wong said. “That’s my goal. That’s what I go up there every time trying to do.”

Pittsburgh beat San Diego 3-1, keeping their one-game lead over the Cardinals.