Chris Davis homered, Hyun Soo Kim and Mark Trumbo had three hits apiece and the Baltimore Orioles rallied to beat the Yankees 6-5 on Friday night.
After the Yankees used three home runs to build a 5-2 lead, Baltimore turned it around against Nathan Eovaldi and the New York bullpen.
The Orioles scored three runs in the sixth inning to pull even, then used two singles and a run-scoring groundout by Manny Machado to go ahead in the seventh.
Mychal Givens (5-0) pitched 1 1/3 innings of relief and Zach Britton worked the ninth for his 16th save.
Carlos Beltran, Alex Rodriguez and Austin Romine homered for the Yankees, who have lost seven of 10.
New York first baseman Mark Teixeira left the game in the third inning with right knee discomfort. He was examined by an Orioles team physician and left the stadium to get an MRI.
Bidding to win his seventh straight decision, Eovaldi lost control of the game in the sixth.
Two hits and a walk loaded the bases for Matt Wieters, who singled in two runs. Kirby Yates then yielded a game-tying RBI double to Jonathan Schoop.
Adam Jones led off the seventh with a single off Dellin Betances (2-3). A single by Kim put runners at the corners before Machado hit a dribbler up the third-base line that provided Chase Headley no option but to throw to first.
Kim's three hits upped his batting average to .391.
Orioles starter Chris Tillman gave up five runs and eight hits in 5 2/3 innings, but his six-game winning streak remained intact.
Tillman allowed an infield hit and faced the minimum through three innings before laboring in the fourth.
Brett Gardner walked before Beltran and Rodriguez homered in succession, both on 3-1 pitches.
After Davis connected in the bottom half to cut the deficit to 3-2, Romine led off the fifth with a drive into the seats in left field.
Yankees: Gardner snapped an 0-for-24 skid with a first-inning single. ... Before his home run, Rodriguez was 3 for 25 since coming off the DL on May 26. ... Teixeira is in a 1-for-18 slump.
Orioles: Davis was 0 for 15 before connecting.
Yankees: INF Dustin Ackley (shoulder) had season-ending surgery Friday. Manager Joe Girardi said he expects Ackley to return for spring training next year. ... C Brian McCann (hyper-extended elbow) was held out of the lineup for a second straight day though Girardi said he would have been available if needed.
Orioles: Setup man Darren O'Day was placed on the 15-day DL with a right hamstring strain. ... RHP Yovani Gallardo (shoulder) felt no lingering pain after pitching three innings Thursday for Class A Frederick in his first rehabilitation start. He will next throw 75-85 pitches on Tuesday, likely for Triple-A Norfolk.
Yankees: Ivan Nova (3-3, 3.98 ERA) looks to snap a two-game losing streak on Saturday in the second game of the series. Two of his three career complete games have come against the Orioles.
Orioles: Tyler Wilson (2-4, 3.83) tries to get back on track after going 0-3 with a 5.30 ERA in his last three starts.