The Orioles have acquired Joe Saunders for the Diamondbacks as they look to make the playoffs for the first time since 1997.

In exchange, Baltimore gave up right-handed reliever Matt Lindstrom and either cash or a player to be named later.

Saunders was 6-10 with a 4.22 ERA in 21 starts with Arizona this season.

The Orioles began the day tied for the second American League wild-card spot with Oakland and in third place in the AL East, only four games behind the Yankees.