The Arizona Diamondbacks have agreed to send Trevor Cahill and $6.5 million to the Atlanta Braves for Minor League outfielder Josh Elander.

The deal allows Arizona to save $5.5 million of the $12 million owed to Cahill in 2015, the final year of his deal. It also opens up a spot in the rotation for Archie Bradley.

Atlanta had been looking to add a starter ahead of the season.