Albert Pujols hit a three-run homer and passed Mel Ott for 14th on the career runs list, and the Los Angeles Dodgers extended the Arizona Diamondbacks' losing streak to 17 game with a 9-8 victory Sunday.

Arizona trailed 9-2 before closing with six runs in the eighth, when Josh Reddick, Christian Walker and Ketel Marte had run-scoring hits before Josh Rojas' inning-ending groundout against Victor Gonzalez stranded runners at the corners.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Kenley Jansen pitched a perfect ninth for his 18th save in 20 chances.

Arizona is approached the longest losing streak of the wild card era, by the Kansas City Royals in July and August in 2005. The Diamondbacks are a major league-worst 20-53 heading into a three-game home series against Milwaukee. Then they go to San Diego, trying to stop a major league record road losing streak that has stretched to 23 games.

Arizona is on the longest losing streak in team history, eclipsing a 15-game skid this season, and has lost 30 of 32 overall and 40 of 45.

Pujols' 673rd home run put Los Angeles ahead 4-0 against Alex Young (2-5) and raised his total to 1,860 runs, one more than Ott from 1926-47 for the New York Giants. Next up is Tris Speaker with 1,882.

The 41-year-old Pujols has 11 home runs this season and trails only Barry Bonds (762), Hank Aaron (755), Babe Ruth (714) and Alex Rodriguez (696) on the career list.

Garrett Cleavinger (2-3) got four outs in relief of Tony Gonsolin, who gave up one run and three hits in 3 2/3 innings in his third start after a stint on the injured list caused by right shoulder inflammation.

Los Angeles played in front of a crowd of 31,661 that featured many loud Dodgers fans. Los Angeles has won six in a row and 10 of 12.

A.J. Pollock had three hits, including a pair of doubles, and three RBIs.

CLICK HERE TO GET THE FOX NEWS APP

BACK IN THE BIGS

INF Josh VanMeter took the roster spot vacated RHP Kevin Ginkel was returned to the minors. "We wanted Kevin to get back into rhythm with consistent work," Lovullo said. VanMeter started at second on Sunday, batting leadoff, and later moved to third. Those are the positions where Lovullo said VanMeter will see the most playing time.

MILESTONE

Corbin Martin relieved Young and allowed four runs in 3 2/3 innings. Martin singled off Cleavinger for his first professional hit; he had been 0 for 5.

TRAINER’S ROOM

Diamondbacks: C Gary Varsho was recalled from Triple-A Reno, one day C Carson Kelly broke a wrist. ... Manager Torey Lovullo said Kelly will get a CT scan on Monday and then the team will project how long he will be out.

UP NEXT

Dodgers: LHP Julio Urías (9-2) starts Monday night at San Diego and RHP Yu Darvish (6-2) in the opener of a three-game series.

Diamondbacks: RHP Merrill Kelly (2-7) starts for Arizona and LHP Brett Anderson (2-4) for the Brewers.