ST. LOUIS -- Yasiel Puig homered three times and had a career-high seven RBIs, giving him five homers in two games, and the Los Angeles Dodgers routed St. Louis 17-4 Saturday to move ahead of the Cardinals into sole possession of the second National League wild card.

Puig hit a solo homer in the fourth off John Gant (7-6) and three-run drives in the fifth against Mike Mayers and in the seventh versus Luke Weaver for his first three-homer game of his major league career.

He raised his season total to 21 homers for the season and became the fourth Dodgers hitter since 2000 with consecutive multihomer games after Cody Bellinger, Adrian Beltre, and Shawn Green.

Bellinger hit a three-run homer in the ninth off Luke Weaver and had a career-high six RBI. The defending NL champions have won four consecutive games and nine of their last 14.

Rich Hill (9-5) allowed four runs, two hits and four walks in five innings, improving to 3-1 in seven starts against the Cardinals.

St. Louis has lost four straight games for the third time this season. Gant allowed three runs, six hits and four walks in 4 1/3 innings.

Manny Machado hit a two-run homer in the first inning, his 11th for Los Angeles and 35th this year overall. The Dodgers have homered in 23 consecutive games, the longest streak in the major leagues this season and one shy of the franchise record set in 1953.

Patrick Wisdom put St. Louis ahead 4-3 in the fourth with his first big league grand slam. Bellinger hit a two-run single off Tyler Webb in the fifth.

TRAINER'S ROOM

Dodgers: RHP John Axford (broken right fibula) allowed one run an one hit in two-thirds of an inning Friday for Class A Rancho Cucamonga, which completed a three-game sweep of Visalia to win the California League title. LHP Tony Cingrani (left shoulder strain) pitched a scoreless inning for the Quakes. Dodgers manager Dave Roberts said both will be activated from the DL on Monday.

UP NEXT

RHP Adam Wainwright (1-3, 4.70) starts for St. Louis in the Sunday night finale of the four-game series, and RHP Ross Stripling (8-3, 2.61) opens for the Dodgers.