MIAMI -- Jose Fernandez struck out a career-high 13 batters and Giancarlo Stanton hit a tiebreaking home run to lead the Miami Marlins to a 3-2 win over the Pittsburgh Pirates on Sunday at Marlins Park.
Steve Cishek allowed two base runners but pitched a scoreless ninth to pick up his 22nd save. He has 17 saves since June 8, the most in the majors during that span.
The last-place Marlins have won five of their past seven games, including two series in a row.
The Pirates, who lead the majors in ERA, lost two of three to the Marliins, who are last in the majors in scoring runs. The Pirates, who haven't played a home game since July 14, head back to Pittsburgh to start an 11-game homestand on Monday against the St. Louis Cardinals. The teams will battle for first place in a crucial five-game series.
Fernandez, who turns 21 on Wednesday, won his pitching duel against fellow rookie right-hander Gerrit Cole, 22, who was the first pick in the 2011 draft.
While Cole was drafted out of UCLA, Fernandez was in high school when he was the 14th pick of that year's draft.
In eight innings, Fernandez (7-5) allowed five hits, no walks and two runs. A double was the only extra-base hit he gave up, and 11 of his strikeouts were swinging.
Cole (5-4) gave up four hits, two walks and three runs in seven innings. He struck out a career-high eight but gave up a 2-0 lead and allowed Stanton to hit a one-out solo home run to left-center field in the sixth to snap a 2-2 tie.
The line-drive shot was measured at 415 feet and was Stanton's 13th homer of the season.
The Pirates opened the scoring, getting two runs in the second. The first run came when Pedro Alvarez led off the inning with a single and scored from first on Russell Martin's double.
Martin, making his first start since tweaking a knee on Friday night in a collision at home, then stole third -- showing that he is over his injury -- and scored easily on Clint Barmes' single to center.
The Marlins tied the score in the fourth on a rally that started with a one-out walk to Stanton and a single by Logan Morrison. Ed Lucas got the first RBI when his two-hopper down the line got past Pirates first baseman Gaby Sanchez. Donovan Solano followed with a sacrifice fly.
NOTES: Pirates backup C Michael McKenry, who hurt a knee Saturday night, did not play Sunday. ... As a precaution, the Pirates promoted Triple-A C Tony Sanchez, a former No. 1 draft pick who played his high school ball in Miami. OF Travis Snider was put on the disabled list with a left big toe injury. ... The Pirates rested CF Andrew McCutchen as a starter, although he did pop out as an eighth-inning pinch-hitter. ... Pirates LF Jose Tabata made his first start since being hit by a pitch on Wednesday and Starling Marte moved over to CF. ... The Marlins promoted RHP Steven Ames from Triple-A. He replaces RHP Kevin Slowey (4.11 ERA), who was placed on the DL because of a right forearm strain. ... This is the first time up in the major leagues for Ames, who pitched seven scoreless innings in five relief appearances since the Marlins acquired him as part of the Ricky Nolasco trade. ... Baseball Prospectus gives the Pirates a 97 percent chance of making the playoffs. The Pirates have not reached the playoffs or had a winning season since 1992.