PHOENIX — Ryan O’Hearn made his first big contribution to his new team just in time.

His game-tying home run leading off the ninth inning against left-hander Kyle Backhus ended a night of futility by almost everyone in the lineup and led to the Padres’ 3-2, series-clinching victory over the Diamondbacks on Wednesday.

Xander Bogaerts scored the winning run after he followed O’Hearn’s blast with a double, advanced to third on Jake Cronenworth’s sacrifice bunt and scored on a single by Jose Iglesias.

Mason Miller, the marquee acquisition at last week’s trade deadline, navigated a two-out walk with three strikeouts in the bottom of the ninth to earn his first save with the Padres.

O’Hearn had gone hitless in three at-bats Wednesday and was 1-for-12 since being acquired from Baltimore along

See Full Page