The Oakland Athletics have acquired right-hander Tanner Anderson from the Pittsburgh Pirates.

Pittsburgh will receive a player to be named later or cash.

Anderson, 25, made his Major League debut this past season. He went 1-0 with a 6.35 ERA in six outings spanning 11⅓ innings for the Pirates.