PHILADELPHIA (AP) -- Jeff Francoeur hit a pinch-hit three-run home run in Philadelphia's four-run eighth inning, leading the Phillies to a 6-3 victory over the Miami Marlins on Friday night in a matchup of two of the worst teams in baseball.

Jeff Francoeur #3 of the Philadelphia Phillies is greeted by teammates after hitting a pinch hit, three-run home run in the eighth inning
Jeff Francoeur #3 of the Philadelphia Phillies is greeted by teammates after hitting a pinch hit, three-run home run in the eighth inning (Hunter Martin/Getty Images)
loading...

Ryan Howard had an RBI for the Phillies, who snapped a five-game losing streak while winning for just the eighth time in their last 34 games. Philadelphia set a franchise record with 62 losses before the All-Star break.

J.T. Realmuto homered and Justin Bour had two hits for the Marlins, whose 38-51 mark entering the game was only better than Milwaukee and the Phillies.

The Phillies got some help from Miami in the pivotal eighth inning.

Cole Gillespie dropped Maikel Franco's line drive to center field, and Odubel Herrera scored to give the Phillies a 3-2 lead. Herrera had led off the inning with a pinch-hit single off Bryan Morris (3-2) and went to second on Ben Revere's sacrifice bunt. Morris was lifted after walking Cesar Hernandez, and Carter Capps got Franco to line to center. It should have been the second out, but the ball deflected off Gillespie's glove as he reached for it.

Francoeur then broke the game open with his first career pinch-hit homer off Mike Dunn.

Ken Giles (4-2) pitched a scoreless eighth inning to earn the victory.

Closer Jonathan Papelbon, the lone Phillies All-Star, gave up Realmuto's homer while pitching in a non-save situation in the ninth. Papelbon drew boos from the crowd upon his entrance, and louder boos after the homer and subsequent single to Ichiro Suzuki. He made comments during the All-Star break criticizing Phillies management for failing to trade him, saying they should "you know what or get off the pot."

Miami ace Jose Fernandez was strong in his third start since returning from Tommy John surgery. The right-hander, who won his first two starts, gave up two runs and four hits in six innings with six strikeouts and one walk. Fernandez's ERA rose slightly, from 2.08 to 2.37.

Adam Morgan, making his fourth career start, rebounded from his worst outing by allowing two runs and four hits in 6 1-3 innings. Morgan walked three and struck out three.

Morgan helped his cause with the bat, starting the Phillies' two-run sixth inning with an opposite-field double. It was the first career hit for the pitcher, who had been 0-for-8 before the at-bat. After Revere's bunt single advanced Morgan to third, he scored when Franco grounded into a double play.

Howard gave the Phillies a 2-1 lead with an RBI single that scored Revere.

Miami tied it in the seventh on Gillespie's RBI double off Luis Garcia.

The Marlins took the lead in the fourth on Bour's RBI single to center that opened the scoring.

TRAINER'S ROOM

Marlins: The Marlins placed All-Star 2B Dee Gordon (dislocated left thumb) on the 15-day DL. Gordon was hurt sliding headfirst last Saturday. The Marlins activated Martin Prado (right shoulder) from the DL. Prado batted second and played second base, going 0 for 4.

UP NEXT

Marlins RHP Tom Koehler (7-5, 3.40 ERA) opposes Phillies RHP Chad Billingsley (1-3, 6.75) in the second game of the three-game series on Saturday night. Billingsley is 4-0 with a 2.76 ERA in eight games (seven starts) against the Marlins. Koehler has a 5.40 ERA in one start against Philadelphia.

(© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)

More From New Jersey 101.5 FM