Cardinals pitcher Jason Motte looks down after giving his second home run pitch in the ninth inning. UPI/Bill Greenblatt

Paul Goldschmidt and Chris Young homered on consecutive pitches from Jason Motte with one out in the ninth inning, leading the Arizona Diamondbacks to a 2-1 win over the Cardinals on Thursday night.

The Cardinals took a 1-0 lead into the ninth on Allen Craig’s RBI single in the fifth. Motte (4-4) struck out Miguel Montero to start the ninth. Goldschmidt, who hit a 456-foot homer off Adam Wainwright the night before, fouled off three full-count pitches before hitting his 18th home run this season. Young followed on the next pitch with his 12th homer.

Motte blew just his fifth save in 32 chances this season.  The game started 1 hour, 25 minutes late because of rain.  Arizona’s Trevor Cahill allowed one run and five hits in six innings with four strikeouts and one walk.  Cardinals’ starter Kyle Lohse gave up four hits and three walks in 6.2 innings, striking out five. He lowered his ERA to 2.61, third-best in the NL.

Wild Card Standings:

Atlanta 69 49 .585
Pittsburgh 65 53 .551
San Francisco 64 54 .542 1.0
St. Louis 64 54 .542 1.0