MINNEAPOLIS (AP) — Eddie Rosario finished a single shy of the cycle and drove in three runs to help the Minnesota Twins snap a four-game skid with a 9-5 victory over the Seattle Mariners on Thursday night.

Aaron Hicks and Brian Dozier also homered for the Twins, who had lost 10 of their previous 12 games. Phil Hughes (10-6) gave up five runs on 10 hits and struck out five in five innings and Joe Mauer extended his hitting streak to 11 games.

Austin Jackson and Seth Smith hit two-run homers for the Mariners, who traded outfielder Dustin Ackley to the New York Yankees before the game. J.A. Happ (4-6) gave up seven runs — six earned — on nine hits in 3 1/3 innings.