NEW YORK (AP) Pinch-hitter Ryan LaMarre singled home the winning run in the 10th inning and the New York Yankees recovered to beat the Philadelphia Phillies 6-5 on Wednesday night after blowing a late three-run lead.

Gleyber Torres homered and Rougned Odor had a two-run shot for the short-handed Yankees, who have won four straight and nine of 12 heading into a four-game series at AL East-leading Boston.

''It's a big game tomorrow and we look forward to going and playing those guys,'' manager Aaron Boone said. ''Obviously it's a challenge, but I think the guys are really enjoying playing the game right now.''

Gary Sanchez, the automatic runner at second base, was sacrificed to third in the 10th and LaMarre batted for Brett Gardner. The Phillies deployed a five-man infield and LaMarre sent a drive off Ranger Suarez (4-2) to the warning track in right field to win it.

The outfielder, just brought back from the minors Sunday, was swarmed by excited teammates on the field - and the buttons of his jersey were ripped open in the celebration.

''That was awesome,'' designated hitter Giancarlo Stanton said. ''All he needed was one swing and he did a good job of making sure he stayed inside the ball.''

LaMarre's clutch hit came in his 11th at-bat with the Yankees. It was his second career game-ending hit and New York's first game-ending pinch hit since Mike Ford homered to beat Oakland on Sept. 1, 2019.

''When I saw they brought the infielder in, I was just looking for something out over the plate,'' LaMarre said.

Brooks Kriske (1-0) pitched a scoreless 10th after the Yankees stranded runners at second and third in the ninth.

Philadelphia overcame a 5-2 deficit when it sent nine batters to the plate in the eighth against Zack Britton and Nick Nelson. Torres made an error at shortstop, and the Phillies drew four walks.

A base hit by Luke Williams off Nelson got the Phillies to 5-4. Philadelphia tied it when Ronald Torreyes scored on a wild pitch, but after walking Bryce Harper to load the bases again, Nelson retired Andrew McCutchen on a flyout to keep the score even.

Before squandering another late lead, the Yankees took a 5-2 lead in the seventh against struggling Hector Neris on Stanton's single and Odor's home run.

Jean Segura hit a leadoff homer and Harper had an RBI double, but the Phillies were 1 for 14 with runners in scoring position and lost consecutive games for the first time since dropping four straight June 20-25. Philadelphia drew a season-high 11 walks.

''We didn't swing it great tonight,'' manager Joe Girardi said.

Torres homered and Greg Allen hit an RBI double in the fourth for New York.

Asher Wojciechowski became the 10th starting pitcher for the Yankees this season and allowed two runs on three hits in four innings. He struck out four, walked three and held the Phillies hitless in six at-bats with runners in scoring position.

Spencer Howard permitted one hit in three scoreless innings for Philadelphia after being called up from Triple-A Lehigh Valley earlier in the day.

SHARED LONG NAME

Wojciechowski tied infielder Bill Knickerbocker for most letters in a last name in Yankees history. Knickerbocker appeared in 97 games for New York from 1938-40 and played 10 seasons for five teams.

TRAINER'S ROOM

Phillies: Harper fouled a ball off his right leg in the ninth before drawing a walk, but Girardi said the slugger would have batted again. Girardi also said Harper will undergo precautionary X-rays. . CF Odubel Herrera (left ankle tendinitis) went 1 for 4 in a rehab game with Lehigh Valley. . OF Mickey Moniak was optioned to Triple-A.

Yankees: RHP Jonathan Loaisiga (COVID-19) threw a bullpen and could be activated for this weekend's series in Boston. Loaisiga said he spent three days working out at a park with LHP Wandy Peralta, who also is on the COVID-19 injured list. Loaisiga was surprised at testing positive and got tested because he was traveling to Nicaragua to visit his family during the All-Star break. . 1B Luke Voit (left knee inflammation) fielded grounders but is still a few days from resuming full baseball activities. . RHP Corey Kluber (strained right shoulder) threw on flat ground and might throw a bullpen Friday.

UP NEXT

Phillies: LHP Matt Moore (0-1, 5.25 ERA) opens a four-game series Thursday against Atlanta RHP Charlie Morton (8-3, 3.69).

Yankees: LHP Jordan Montgomery (3-5, 4.18 ERA) begins a four-game series Thursday at Fenway Park against Boston RHP Tanner Houck (0-2, 3.38).

---

More AP MLB: https://apnews.com/hub/MLB and https://twitter.com/AP-Sports

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.