John Ryan Murphy had the Yankees' only hit in a three-run fifth inning, and New York defeated the Baltimore Orioles 5-3 Sunday to salvage the finale of a three-game series.
Mark Teixeira drove in a run and scored one to help the first-place Yankees end Baltimore's six-game winning streak.
Dellin Betances, filling in for injured closer Andrew Miller, worked around a walk in the ninth for his third save.
The Yankees trailed 3-2 before rallying in the fifth. Orioles rookie Mike Wright (2-2) issued three straight walks -- all on 3-2 pitches -- to load the bases and Brian Matusz walked Garrett Jones with the count full to force in a run. Two outs later, Murphy hit a two-run double off the glove of third baseman Manny Machado.
Murphy, New York's backup catcher, got three hits to raise his batting average 42 points to .250. He entered the game with four extra-base hits and three RBI.