MINNEAPOLIS (AP) Struggling Freddy Galvis homered and drove in a career-high five runs to help the Philadelphia Phillies end a nine-game losing streak, beating the Minnesota Twins 7-3 Thursday.

Cesar Hernandez tied a career-high with four hits and slumping Ryan Howard homered as part of his first multiple-hit game since April 29.

The Phillies won for just the second time in 15 games. The Twins had won three in a row.

More from FoxSports

Jerad Eickhoff (5-9) gave up one earned run and five hits in six innings. In winning three of his past four starts, Eickhoff has allowed five earned runs in 24 2-3 innings. The last three Philadelphia wins over a 17-game span were all Eickhoff victories.

Looking to become the Twins first pitcher with four wins, Ricky Nolasco (3-5) allowed 10 hits and four earned runs in 6 2-3 innings.