PHOENIX (AP) The Arizona Diamondbacks have traded right-hander Jeremy Hellickson to the Philadelphia Phillies for right-handed pitching prospect Sam McWilliams.

The 28-year-old Hellickson went 9-12 with a 4.62 ERA in 27 starts after being traded to Arizona from Tampa Bay last offseason. He was the AL Rookie of the Year in 2011 and won a Gold Glove in 2012 but has struggled giving up homers, allowing at least 20 four of the past five seasons.

Hellickson is 49-48 with a 3.94 ERA in 142 games over six big league seasons.

More from FoxSports

The 20-year-old McWilliams went 0-2 with a 3.27 ERA in seven starts with the Rookie GCL Phillies last season after being selected in the eighth round of the 2014 draft.