Updated

PHOENIX -- Tommy Pham had his second career three-hit game, Jaime Garcia pitched six strong innings and the St. Louis Cardinals routed the Arizona Diamondbacks 9-1 on Tuesday night.

Three days after his first three-hit game, Pham singled twice and got his second career triple. He scored three times.

Six players had RBIs for the Cardinals, two apiece for Jhonny Peralta, Jason Heyward and Yadier Molina. The Cardinals' Peter Bourjos' got his first career pinch-hit home run.

Garcia (6-4) allowed a run and four hits, striking out six and walking one. The Cardinals, 35 games above .500, earned their MLB-best 80th victory and lengthened their lead to five games over second-place Pittsburgh in the NL Central.

Robbie Ray (3-10) lasted three innings plus two batters. He allowed six runs and five hits. Ray walked five, hit a batter and struck out one.

With Ray having control issues, the Cardinals jumped on the young left-hander for four runs in the first.

Matt Carpenter started it with a leadoff walk. Heyward had a two-run single and Molina an RBI double. Kolten Wong snapped an 0-for-8 skid with an RBI single. Molina, not the fastest base runner to say the least, stole third in the inning.

Ray faced two batters in the fourth without getting an out. He hit Carpenter with a pitch and gave up a single to Pham. The runners scored on sacrifice flies by Peralta and Molina.

Bourjos' homer to left came on the first pitch he saw from Randall Delgado in the seventh inning.

The Diamondbacks lost their second straight to the Cardinals after returning home one game above .500 following a four-game sweep of Cincinnati. Arizona fell 6 1-2 games behind the NL West-leading Los Angeles Dodgers.

EMOTIONAL VISIT

Reliever Evan Marshall visited Chase Field for the first time since he was struck in the head by a line drive while pitching for the Diamondbacks' Triple-A Reno affiliate in El Paso three weeks ago. Marshall's jaw was fractured and he had bleeding in his brain. Speaking publicly for the first time, Marshall said he had only minutes to live and wouldn't have survived had doctors not acted so quickly. His wife Ani called it a "terrifying" experience but says she can't wait to see her husband back on the mound.

TRAINER'S ROOM

Diamondbacks: RHP Archie Bradley (shoulder) was activated from the 15-day DL and assigned him to Reno.

UP NEXT

Cardinals: RHP John Lackey (8-8, 2.99 ERA) makes his team-leading 26th start of the season as the Cardinals try to clinch the four-game series.

Diamondbacks: LHP Patrick Corbin (3-3, 4.30) makes his 10th start since coming back from Tommy John surgery.