The Texas Rangers have traded three Minor Leaguers to the Milwaukee Brewers for Yovani Gallardo.

Milwaukee will receive right-handed pitchers Corey Knebel, Marcos Diplan and shortstop Luis Sardinas.

Gallardo, 28, a native of Fort Worth, Texas, went 8-11 with a 3.51 ERA for the Brewers last season.

The pitcher will make $13 million in the final year of his contract and is open to signing a long-term deal with the Rangers if everything goes well in 2015. The Brewers will pick up $4 million of Gallardo's $13 million salary.