The San Francisco Giants have acquired Evan Longoria from the Tampa Bay Rays.

Longoria has five years left on his six-year, $100 million deal with a seventh year available as a team option.

The Rays will be getting infielder Christian Arroyo, minor league pitchers Matt Krook and Stephen Woods and must take on the last year of Denard Span's contract. He will earn $9 million.

Longoria hit .261 with 20 homers and 86 RBIs last season.