MILWAUKEE, Wis. (AP) — Adam Wainwright hit one of four Cardinals homers and struck out a career-high nine in seven innings, lifting St. Louis to an 8-1 win over the Milwaukee Brewers on Tuesday night.

Nick Stavinoha, Colby Rasmus and Chris Duncan also homered for the Cardinals to snap a four-game skid against their NL Central rivals.

Wainwright (5-2) lost a 1-0 decision on May 16 against Brewers starter Jeff Suppan despite giving up just two hits over eight innings. This time, the 27-year-old right-hander made sure the Cardinals scored at least one run and worked out of two bases-loaded jams.

He scattered five hits and two walks.

With teams pitching around slugger Albert Pujols, who drove in two runs with a sacrifice fly in the third and a single in the eighth, St. Louis showed some pop from the rest of its lineup.

Stavinoha, Rasmus and Wainwright each hit a solo homer off Suppan. Duncan’s two-run shot came in the sixth off reliever Seth McClung to make it 7-1 and marked the second time this year the Cardinals have hit four home runs in a game.

St. Louis, which has lost 11 of its last 13 against the Brewers, is without Ryan Ludwick (hamstring) and Rick Ankiel (shoulder), but managed to move back into a tie for first in the NL Central with Milwaukee.

Stavinoha’s homer was his first in the majors and opened the scoring in the second inning. Rasmus led off the fourth with a homer and Wainwright hit the fourth of his career with two outs in the inning.