Jose Reyes hit a two-run homer and Nathan Eovaldi won his Miami debut, leading the Marlins to a 4-2 victory over the San Diego Padres on Saturday night.
Justin Ruggiano also went deep and Steve Cishek earned his fourth save for the Marlins, who snapped a three-game skid.
Yonder Alonso had two hits and drove in a run for the Padres, who had won seven of 10.
Eovaldi (2-6) was traded to Miami on Wednesday from the Dodgers in a four-player swap that sent Hanley Ramirez to Los Angeles. The 22-year-old right-hander allowed one run and five hits in 5 1-3 innings while striking out five and walking two.
The Marlins had scored three runs or fewer in nine consecutive games, which matched a franchise record set in 1994.