PHILADELPHIA (AP) — Phillies first baseman Rhys Hoskins’ two-base error allowed Miami to tie the game in the ninth and Brian Anderson’s followed with an RBI single that sent the Marlins past Philadelphia 6-5 on Thursday night and snapped their nine-game losing streak.

Philadelphia led 5-4 when Garrett Cooper led off the ninth with a double off David Robertson (4-3).

Joey Wendle, who homered earlier, slapped a pitch down the line that Hoskins failed to snag, and the ball rolled into right field as pinch-runner Bryan De La Cruz scored.

Avisaíl García walked, and Anderson hit a go-ahead single to right.

Dylan Floro (1-2) worked two scoreless innings for his first win since Sept. 20 last year, and the Marlins avoided a three-game sweep.

Trying to make the playoffs for the first time in 11 years, the Phillies led 5-4 after Marlins center fielder JJ Bleday — a Pennsylvania native whose girlfriend attends Temple — gifted the Phillies with two defensive blunders in the fifth inning.

Marlins ace Sandy Alcantara took a 4-3 lead into the fifth and retired the first two batters before Kyle Schwarber a can of corn fly to Bleday that the outfielder failed to squeeze with his glove. The ball popped free as Phillies fans roared in disbelief.

Hoskins singled and Alec Bohm followed with a low liner to center that Bleday got a bad read on. Bleday tried to make a diving catch with his outstretched glove and missed, allowing the ball to scoot to the wall as both runners scored for the 5-4 lead.

Phillies starter Kyle Gibson wasn’t sharp and gave up nine hits in five innings. Lewin Diaz hit a solo shot to right, Cooper added an RBI double and Garcia punched a run-scoring single in a three-run third.

The Phillies made it 3-3 on Nick Maton’s solo homer in the third and Bryson Stott’s two-RBI blooper that kissed the left field line in the fourth.

Alcantara had pitched like the frontrunner for the NL Cy Young Award but his ERA has risen from 1.92 to 2.43 in his last four starts. The Phillies have tagged him for 15 runs in five starts this season.

Still, when Wendle hit a solo homer in the fifth for a 4-3 lead, that should have been enough for Alcantara and the Marlins.

Bleday’s first error of the season took care of that — only for him to get bailed out by a costly error for the Phillies.

TRAINER’S ROOM

Phillies RHP Seranthony Domínguez started a rehab assignment (right triceps tendinitis) with Triple-A Lehigh Valley. RHP Zack Wheeler (right forearm tendinitis) could throw a bullpen session this weekend and may not need to make a rehab start. RHP Zach Eflin (right knee) was expected to make a rehab start this week for Triple-A Lehigh Valley.

UP NEXT

The Marlins head home for a three-game set against the New York Mets. RHP Edward Cabrera (4-2, 2.39 ERA) gets the start for the Marlins. The Mets did not announce a starter.

The Phillies open a three-game series against Washington on Friday and send RHP Noah Syndergaard (8-9, 4.07 ERA) to the mound against Nationals LHP Patrick Corbin (6-17, 6.28 ERA).

Copyright 2022 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox