SAN FRANCISCO (AP) — The San Francisco Giants acquired All-Star infielder Eduardo Nunez from the Minnesota Twins on Thursday night in exchange for a minor league pitcher.

Nunez was batting .300 with 12 home runs and 47 RBIs this season for the Twins and was leading the American League with 26 steals at the time of the trade.

The move adds some much-needed depth to San Francisco's injury-plagued infield.

Second baseman Joe Panik was activated off the disabled list prior to the Giants' game against Washington on Thursday, while third baseman Matt Duffy remains out with a strained left Achilles. Backup infielder Ehire Adrianza has also been sidelined since mid-April with a foot injury.

Nunez, a career .275 hitter, is likely to play third base until Duffy returns. He started 28 games there this season for the Twins.

San Francisco sent minor league pitcher Adalberto Mejia to the Twins in exchange for Nunez.