Paul DeJong hit a go-ahead, two-run homer off Kenley Jansen in the ninth inning, lifting the St. Louis Cardinals to a 3-1 victory and a three-game sweep of the Los Angeles Dodgers on Wednesday night.

The Cardinals' eighth straight road win helped them improve to 17-4 this month, the most wins in the majors. They've homered in 15 straight games, one off the current season mark of 16 in a row by Philadelphia.

St. Louis remained 2½ games behind the NL Central-leading Cubs.

For Jansen, it was a familiar ending.

The All-Star closer, who became a father for the third time earlier in the day, gave up consecutive homers to Jedd Gyorko and Matt Carpenter in the series opener Monday. That was Jansen's first game back after missing time because of an irregular heartbeat.

This time, Gyorko singled off Jansen (0-5) and DeJong followed with a homer to left-center that gave the Cardinals their first lead of the game.

The Dodgers went quietly in the ninth, with Jordan Hicks striking out Cody Bellinger, Brian Dozier and Chris Taylor to earn his fifth save.

Dakota Hudson (4-0) got the win with one inning of relief.

Los Angeles loaded the bases in the eighth, but Manny Machado grounded out to end the inning. The Dodgers stranded 30 runners in the three-game series.

Pinch-hitter Tyler O'Neill homered in the top of the eighth off Scott Alexander, tying it 1-all.

Jack Flaherty and Walker Buehler dueled in a stellar matchup of rookie pitchers, although neither figured in the decision.

Flaherty held the Dodgers hitless through 5 1/3 innings. Joc Pederson broke through after Buehler struck out leading off the sixth, slugging his 19th homer to right field for a 1-0 lead.

Flaherty gave up just that one hit in six innings. The 22-year-old right-hander from nearby Burbank struck out 10 and walked two on 101 pitches.

Buehler scattered three hits over seven innings, struck out nine and walked two on 104 pitches.

The Dodgers have lost three in a row and they dropped four games behind NL West-leading Arizona in pursuit of a sixth straight division title.

TRAINER'S ROOM

Cardinals: Placed OF Marcell Ozuna on the 10-day disabled list with right shoulder inflammation after he received a cortisone injection. INF Yairo Munoz (right wrist sprain) was activated from the DL.

Dodgers: LHP Julio Urias (left shoulder surgery) came out of his 2 1/3-inning outing at Class A Rancho Cucamonga "feeling good," according to manager Dave Roberts. Urias will get three days off before the team decides where he goes next.

UP NEXT

Cardinals: After getting Thursday off in Denver, RHP Miles Mikolas (13-3, 2.80 ERA) starts the series opener against the Rockies. His victories are the most by a first-year St. Louis pitcher since Kyle Lohse in 2008.

Dodgers: After a day off, LHP Rich Hill (5-4, 3.73) starts the series opener at home Friday against San Diego. He's 4-4 with a 3.44 ERA vs. the Padres while holding their batters to a .199 average.