SAN FRANCISCO -- The D-backs got a crucial call at first base overturned in their favor in the seventh inning Saturday afternoon at AT&T Park.

With runners on first and second and the D-backs clinging to a 2-0 lead, the Giants' Gregor Blanco hit a grounder to Paul Goldschmidt at first base. Goldschmidt threw to starter Wade Miley, who appeared to hit the bag with his foot just after Blanco.

First-base umpire Gabe Morales ruled Blanco safe, and Miley immediately motioned to manager Kirk Gibson in the dugout to come out and challenge the play.

After a brief review, it was ruled that Miley had in fact tagged Blanco before they both touched the base, so the call was overturned and Blanco was out.

"I just saw he was right there and I knew I could tag him, so I just tagged him," Miley said. "I knew it was going to be close if I just went to the bag and I was pretty sure I got him, and I was kind of shocked when they called him safe."

It proved to be a key play as Miley was able to retire the next batter and end the inning with Arizona still up, 2-0.