Josh Johnson allowed two runs over seven innings for his first victory in more than a year, and the Miami Marlins beat the Pittsburgh Pirates 6-2 on Tuesday night.
Johnson (1-3) had gone winless in 12 starts since his most recent victory on April 19, 2011. He missed the final 4½ months of last season because of right shoulder inflammation.
Hanley Ramirez had three hits and two RBIs for the Marlins. Omar Infante tied a career high with four hits, including a two-run single, and John Buck singled home the other two runs.
The Marlins concluded a 3-2 homestand and split the two-game series.
Kevin Correia (1-4) lasted only 3 2-3 innings, his shortest outing this year, and gave up a season-high six runs. He fell to 0-4 in his past five starts.
Johnson gave up a run in the first inning, but after the first two batters singled in the third, he retired 13 of the next 14 hitters before Michael McKenry homered. He gave up six hits and struck out six.
Johnson, the 2010 NL ERA leader, was the Marlins' opening day starter this season but endured several rough outings. With the victory, he reduced his ERA to 5.36 and improved his career record to 49-26.
Edward Mujica and Randy Choate completed the six-hitter and lowered Miami's team ERA this month to 2.86.
The Marlins knocked out Correia when they scored five runs in the fourth to take a 6-1 lead. Buck drove in two runs with a bases-loaded single, Infante also had a two-run single and Ramirez doubled home a run.
Miami, which came into the game last in the majors in batting with runners in scoring position, went 4 for 12 in those situations.
The Pirates scored in the first for the second straight night. Andrew McCutchen walked with two outs, advanced on a single by Pedro Alvarez and scored on Garrett Jones' single.
Ramirez tied the score with an RBI double in the bottom of the first.
NOTES: Before the game, the Marlins recalled OF Bryan Petersen from Triple-A New Orleans. ... Marlins RF Giancarlo Stanton robbed Jones when he made a running, leaping catch before slamming into the fence in the fourth inning. ... Correia has an ERA of 8.39 in six starts against the Marlins. ... Miami's Emilio Bonifacio stole a base and is 19 for 19 to lead the majors. ... Marlins 1B Gaby Sanchez, batting .198, was given the night off.