Josh Johnson pitched seven solid innings and ended his career-worst four-game losing skid, leading the Miami Marlins past the Milwaukee Brewers 6-2 Thursday.
Johnson (8-11) allowed two runs and four hits while striking out seven. He won for the first time since Aug. 3 at Washington.
Greg Dobbs drove in two runs for Miami. The Marlins had 12 hits, three by Donovan Solano.
The Brewers lost for just the fourth time in 17 games. A day earlier, they pulled within 6½ games of the second NL wild-card spot.