The Pirates have acquired third baseman Casey McGehee from the Brewers in a trade for reliever Jose Veras.
The deal came just hours after the Brewers agreed to terms with free-agent third baseman Aramis Ramirez.
McGehee had a strong rookie season in 2009 and a big year in 2010, but slumped at the plate in 2011 and lost his starting job to Jerry Hairston Jr. late in the season.
Brewers Trade McGehee To Pirates