CLEARWATER, Fla. -- Aaron Hicks hit three home runs and a two-run single as the Twins erased a five-run deficit en route to a 10-6 win over the Phillies on Thursday afternoon at Bright House Field.

Hicks hit a leadoff homer off Cliff Lee in the first, a solo blast off Jeremy Horst in the fifth and then a two-run shot off Raul Valdes in the seventh. In the eighth, Hicks laced a two-run broken-bat single to center field.

Down a run in the eighth, the Twins batted around and scored five runs. Wilkin Ramirez tied things up when he scored on a wild pitch by Zach Miner, and then Danny Santana put the visitors up for good with an RBI single. Hicks followed with a two-run single and then eventually scored on Mark Sobolewski's error.

Philadelphia shortstop Freddy Galvis tripled and scored in the first inning to tie the game, and then the Phillies' offense erupted with four runs in the second.

Designated hitter Darin Ruf doubled to right-center field to score two runs in the second, and he also singled to score a run in the third inning to give the Phillies a 6-1 lead.

Lee would allow a solo homer to Dan Rohlfing in the fourth, but other than that, the left-hander was in complete control. He allowed four hits, fanned five and issued just one walk over 3 2/3 frames.

Twins right-hander Kyle Gibson, who is ranked the club's No. 4 prospect by MLB.com, allowed six runs on eight hits over 2 1/3 frames.

Up next: Right-hander Mike Pelfrey, who is coming off Tommy John surgery, is slated to make his fourth Grapefruit League start on Friday night against the Red Sox in a 6:05 p.m. CT start at JetBlue Park. The game will air on MLB.TV and FOX Sports North Plus. Right-hander Ryan Dempster is scheduled to start for the Red Sox.