Gardner's triple lifts Yankees over Orioles 4-2

Brett Gardner hit a bases-loaded triple and the New York Yankees beat the Baltimore Orioles 4-2 Sunday.

Freddy Garcia (10-7) struck out six in six innings and allowed two runs on five hits to send the Yankees 22 games over .500, their highest point of the season.

Derek Jeter left after getting hit by a pitch, but X-rays only showed a bruised right middle finger.

New York, which hadn't announced any deals by the time the non-waiver trade deadline passed at 4 p.m., improved its major league best record in day games to 31-7 and won for the 20th time in its last 26 home games.

Yankees reliever David Robertson struck out the side in the eighth and pitched 1 1-3 innings of perfect relief overall before Mariano Rivera pitched the ninth for his 27th save in 31 chances.

Baltimore's Jake Arrieta (10-8) walked six batters in five innings, giving up five hits along with four runs. Only two of the runs were earned.

The Orioles have lost six of their last seven and 18 times in 24 games.

Adam Jones put the Orioles up early with an RBI single on a hit-and-run in the third inning. Jeter went far to his left at shortstop to reach Jones' hopper up the middle, but his throw to second was off and couldn't get Nick Markakis in time.

Gardner came to bat after Eric Chavez walked to lead off the fourth, Russell Martin reached on shortstop J.J. Hardy's fielding error and Eduardo Nunez singled. Gardner slowed imperceptibly to glance into the right-field corner as he rounded second, then motored straight into third to give the Yankees the lead with his sixth triple this season.

Baltimore's Chris Davis, acquired the day before in a trade for Koji Uehara, arrived Sunday morning and played first base. He went 0 for 4, striking out in his first at-bat. The Orioles, who struck out 10 times overall, also acquired right-hander Tommy Hunter in the deal, and he will join the team in Kansas City.

Jeter was hit by a pitch from Arrieta on his right knuckles in the third inning and lifted for pinch-hitter Francisco Cervelli in the fourth.

Vladimir Guerrero hit an RBI single in the sixth inning and Robert Andino stole three bases for the Orioles.

Notes: Baltimore, which was swept in a day-night doubleheader on Saturday, hasn't won a series since June 24-26 against the Cincinnati Reds. The O's last AL series win was a three-game sweep of Oakland from June 6-8. ... Cervelli, normally the Yankees' backup catcher, had to take over at second in the fifth inning after batting for Jeter. The Yankees' usual 2B, Robinson Cano, was the DH Sunday. Cano later moved to second and reliever Hector Noesi had to go into the lineup in the second spot. When the No. 2 place came up again in the order, Robertson was lifted for pinch-hitter Andruw Jones with two outs in the eighth. ... When Baltimore LF Felix Pie batted in the fourth inning, the scoreboard showed the Greek letter pi, along with 15 decimal places of the constant: 3.141592653589793.