BALTIMORE (AP) — The Baltimore Orioles have acquired outfielder Travis Snider from the Pittsburgh Pirates for a minor league pitcher and a player to be named.

The teams announced the trade Tuesday night. The Pirates got left-hander Stephen Tarpley.

READ MORE: Maryland Weather: Clouds & More Clouds, Plus Friday's An Alert Day

The 26-year-old Snider hit .264 with 13 home runs and a career-best 38 RBIs in 140 games for the Pirates last season. He was a first-round draft pick by Toronto in 2006.

READ MORE: Jury Acquits Man Of Murder Of Baltimore Anti-Violence Advocate Dante Barksdale

Snider has hit .246 with 50 homers in his major league career. He can provide outfield depth for the Orioles after they lost Nick Markakis and Nelson Cruz to free agency in the offseason.

The 21-year-old Tarpley was 3-5 with a 3.68 ERA with Class A Aberdeen.

MORE NEWS: Baltimore County Firefighters Rescue Person Trapped In Mud Near NCR Trail

The Orioles also designated catcher Michael Ohlman for assignment.