The San Francisco Giants, badly struggling for offense, have acquired Philadelphia Phillies outfielder Hunter Pence, a high-ranking Phillies official with direct knowledge of the trade confirmed to USA TODAY Sports. The executive spoke on condition of anonymity because the deal is not yet official.

Pence, who is eligible for free agency after 2013, is hitting .271 with 17 homers and 59 RBI this season.