MIAMI -- Third baseman Casey McGehee hit a walk-off sacrifice fly in the 10th inning as the Miami Marlins beat the Pittsburgh Pirates 3-2 on Sunday at Marlins Park.
Second baseman Rafael Furcal started the rally with a single. Pinch-runner Ed Lucas advanced on Reed Johnson's sacrifice bunt and a wild pitch from reliever Jared Hughes. McGehee then won it with his fly ball to right.
Miami (35-33) broke a three-game skid.
The Pirates (34-35) had their season-high-tying four-game win streak snapped.
It appeared the Pirates were headed for a 2-0 win before McGehee hit a two-out, two-run double in the eighth.
Right-hander Vance Worley, who was making his Pirates debut, pitched seven scoreless innings and got a no-decision when Pittsburgh's bullpen struggled for the third game in a row.
Worley allowed five hits, including four singles, and no walks. It was the first time he had thrown as many as seven scoreless innings since April 19, 2012, when he was with the Phillies.
Pirates left-hander Tony Watson, who had not allowed a run in 21 games and had not allowed a hit in 8 2/3 innings, saw both of his streaks end in the eighth inning. Pinch-hitter Jeff Baker got an infield single to start the rally. Furcal followed with a single, and McGehee's double to left-center scored them both.
Miami's Henderson Alvarez picked up no-decision after allowing just two runs in seven innings.
The top two batters in the Pirates order terrorized the Marlins all weekend, and that was the case again in the third inning.
Right fielder Gregory Polanco barely beat out an infield single to Furcal's left side. Then left fielder Starling Marte hit a double that one-hopped the wall in left. The relay throw from shortstop Adeiny Hechavarria might have had Polanco, but it skipped past catcher Jeff Mathis.
Pittsburgh's first three batters in the fourth inning got on base and produced a run. Catcher Russell Martin walked, third baseman Pedro Alvarez singled and second baseman Josh Harrison had the RBI hit to make it 2-0.
The Marlins threatened twice against Worley. The first came with a two-out double by Hechavarria in the second.
In the fourth, the Marlins' first two batters singled. But center fielder Marcell Ozuna struck out after hitting a long drive to right field that curved foul, and Hechavarria bounced into a double play.
NOTES: Marlins RHP Nathan Eovaldi was placed on paternity leave -- his wife is expecting Sunday. ... Miami recalled RHP Sam Dyson from Triple-A New Orleans, where he was 1-1 with a 2.66 ERA. ... CF Andrew McCutchen's homer on Saturday was No. 114 for his career, tying him with Bobby Bonilla for 15th place on the Pirates' list. ... Pittsburgh demoted 2B Michael Martinez to the minors to make roster move for RHP Vance Worley. ... Marlins LF Christian Yelich (back pain) missed his second straight game. ... The Pirates, who have won five of their past seven series, open a set against the Cincinnati Reds on Tuesday. ... The Marlins' 10-game homestand continues on Monday vs. the Chicago Cubs.