Melvin Upton Jr. homered on the first pitch of the ninth to give the San Diego Padres a 2-1 victory against the New York Yankees on Saturday night.
It was the third walk-off of the year for Upton, who homered into the second balcony on the Western Metal Supply Co. Building in the left-field corner. It was his 13th overall.
Miller (5-1) had just taken the mound for the Yankees.
Brad Hand (2-2) pitched the ninth for the win.
There were three replays that took a total of 10 minutes, 10 seconds. Among them was Matt Kemp being thrown out trying to score from second on Upton's single to right to end the sixth.
Starters Ivan Nova of the Yankees and Drew Pomeranz of the Padres each allowed one run before turning it over to the bullpens.
New York took a 1-0 lead in the sixth when Jacoby Ellsbury hit a leadoff double, advanced on Brett Gardner's bunt single and scored on Starlin Castro's groundout.
San Diego tied it in the bottom of the inning when Wil Myers walked and scored on Kemp's double. Kemp tried to score on Upton's single to right, but Rob Refsnyder made a great throw home to Austin Romine, who then blocked the plate with his left foot and tagged Kemp. The Padres challenged, but the call stood after a review of 3:19.
The longest replay was 4:20 after Romine was thrown out after a nice throw by third baseman Yangervis Solarte on a slow roller. The call was overturned and Romine was safe with an infield single, but Nova struck out to end the inning.
Nova held the Padres to one run and four hits in 5 2/3 innings, struck out seven and walked one.
Pomeranz also allowed just one run, and five hits, while striking out seven and walking none.