NEW YORK (AP) — Carlos Beltran hit a game-ending sacrifice fly after Oliver Perez walked the bases loaded, and the New York Yankees beat the Houston Astros 1-0 Monday night in a game highlighted by a tense duel between Nathan Eovaldi and Scott Feldman.

Perez (0-1) entered in the ninth and gave New York fans a reminder of his wild five seasons with the Mets. He walked Brett Gardner, threw a wild pitch, then walked Alex Rodriguez intentionally. Brian McCann walked to load them and end Perez's night.

Beltran then gave Chad Qualls' first pitch a ride to deep center field for New York's third walk-off win this year.

Andrew Miller (2-2) pitched the ninth in helping the Yankees hand the AL West leaders their 18th road loss in their last 22 away games. The Astros were coming off a sweep of the Los Angeles Dodgers at Minute Maid Park.

Eovaldi and Feldman each went eight innings.

More From 104.5 THE TEAM