Ed Lucas' single scored the winning run from second base with one out in the 11th inning Tuesday night and the Miami Marlins broke a four-game losing streak by beating the Philadelphia Phillies 5-4.
The Phils lost their fifth game in a row.
The Marlins won their ninth consecutive game when Henderson Alvarez starts, matching the longest such streak with a pitcher in franchise history. Alvarez allowed two runs in seven innings.
Pinch hitter Jeff Baker singled to start the 11th inning against Justin De Fratus (2-1), advanced on a sacrifice and scored without a play on Lucas' opposite-field hit.
The Phillies overcame a 4-2 deficit in the eighth with back-to-back two-out homers by Marlon Byrd and Cody Asche off Kevin Gregg.
Bryan Morris (6-0) pitched two innings for the win.
The Marlins' Giancarlo Stanton singled home a run to increase his RBI total to 61, which leads the NL.