The Dodgers have completed their trade with the Cubs, sending minor-league pitcher Jonathan Martinez to Chicago and optioning infielder Darwin Barney to Triple-A Albuquerque.

Barney was acquired by the Dodgers in Monday's trade and he was sent down Wednesday.

The Gold Glove winner in 2012 played second base, third base and shortstop in five seasons with the Cubs, but they cut him loose after he hit .230 with 16 RBI in 72 games this season.

Martinez, a 20-year-old right-hander, was 7-5 with a 3.47 ERA in 19 starts for Class A Great Lakes this season. He was signed by the Dodgers as a non-drafted free agent in May 2011 out of Venezuela.