Pirates get Gaby Sanchez from Miami
The Pirates also got minor league pitcher Kyle Kaminska on Tuesday for minor league outfielder Gorkys Hernandez and one of baseball's new extra draft picks given to financially weaker teams.
The 28-year-old Sanchez was having a disappointing year. He was batting only .202 with three home runs and 17 RBIs, and had been demoted to Triple-A in May for nearly a month.
Sanchez hit 19 home runs in each of the previous two seasons and was an NL All-Star last year.
The Marlins recently traded away star infielder Hanley Ramirez and pitcher Anibal Sanchez.