Chicago Cubs pitcher Matt Garza was traded Monday to the Texas Rangers for five 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 two players to be named, to the Cubs in exchange for the veteran right-hander. It was originally reported the Cubs would receive one player to be named.

One of those players could be right-hander Neil Ramirez.

The deal is pending physicals for the players involved. Olt and Grimm will be sent to Triple-A Iowa and Edwards to Class-A Daytona.

Garza was scratched from his scheduled start Monday night against Arizona. Left-hander Chris Rusin will start in place of Garza vs. the Diamondbacks.

Edwards is the key to the deal. He was 8-2 with a 1.83 earned-run average at Class-A Hickory, with 122 strikeouts over 93 1/3 innings.

Olt, a first-round draft pick in 2010, was considered one of the Rangers' top prospects last year, but has fallen off this season at Triple-A Round Rock. After homering against Iowa on Sunday, Olt is hitting .213 with 11 home run and 32 RBIs, with a .317 OBP and a .739 OPS. Last year he hit 28 home runs with 82 RBIs at Double-A Frisco.

Grimm, a fifth-round choice in 2010, already has major league experience, with an 8-8 career mark and 6.73 ERA. This year he's 7-7 with a 6.33 ERA for the Rangers.