MLB: Chicago Cubs at Milwaukee Brewers

Chicago Cubs pitcher Matt Garza was traded Monday to the Texas Rangers for four prospects, the team confirmed.

The Cubs and Rangers finally worked out the details of a trade that will send third baseman Mike Olt and right-handed pitchers C.J. Edwards and Justin Grimm, plus a player to be named, to the Cubs in exchange for the veteran right-hander.

One of the players could be right-hander Neil Ramirez, or other players if the Cubs choose to pick someone else.

The deal is pending physicals for the players involved.

After missing the first two months of this season, Garza has gone 6-1 in 11 starts with a 3.17 ERA, including 5-0 with a 1.24 ERA in his last six.

With five starters on the disabled list — left-hander Matt Harrison, right-handers Yu Darvish, Alexi Ogando, Nick Tepesch and Colby Lewis — the Rangers needed a top-of-the-rotation type starter to contend in the American League West.

Texas is two games behind the Oakland Athletics in the division to begin the second half of the season.

The Cubs have already traded outfielder Scott Hairston, who was dealt to the Washington Nationals, right-hander Scott Feldman, who was sent to the Baltimore Orioles, and right-handed reliever Carlos Marmol, who was traded to the Los Angeles Dodgers.