LOS ANGELES (AP) — The Dodgers have acquired minor league infielder Erick Mejia from the Mariners in exchange for pitcher Joe Wieland.

Mejia has a .273 career batting average with 49 stolen bases, a home run and 42 RBIs in 133 minor league games in the Seattle organization after being signed as an amateur free agent in June 2012 out of the Dominican Republic. The 21-year-old switch-hitter combined to hit .282 in 51 games with Triple-A Tacoma, Single-A Clinton and Everett and the rookie level AZL Mariners last season.

Wieland spent most of last season with Triple-A Oklahoma City, going 10-5 with a 4.59 ERA in 22 games. The 25-year-old right-hander also made two starts for the Dodgers, with a 0-1 record and an 8.31 ERA. He was originally acquired by Los Angeles from San Diego in December 2014 in a five-player deal.

The deal announced Tuesday leaves the Dodgers with 39 players on their 40-man roster.

To make room on their roster, the Mariners designated right-hander A.J. Schugel for assignment.