BOSTON (CBS) — The Boston Red Sox got an early jump on deadline day action, acquiring Jake Peavy late Tuesday night.

The Red Sox are sending Jose Iglesias to Detroit as the other main player in the deal.

The Red Sox also acquired Bryan Villareal from the Tigers. The Red Sox traded away minor league pitchers J.B. Wendelken and Francelis Montas and infielder Cleuluis Rondon to the White Sox, while the Tigers sent Avisail Garcia to the White Sox.

Follow Along: MLB Trade Deadline LIVE Blog

Peavy, 32, owns an 8-4 record and 4.28 ERA this season for Chicago, where he is 36-29 with a 4.00 ERA overall since 2009. He did post a 3.37 ERA last year, his best such mark since 2008. His 219 innings pitched last year were also his most since 2007. He was scratched prior to his start Tuesday night, an indication that a long-rumored deal was imminent.

Iglesias, 23, finally earned big league playing time this year, and he excelled, hitting .330 with a .376 on-base percentage in 234 plate appearances, both vast improvements to his .202 average and .262 OBP in 133 plate appearances in Triple-A Pawtucket this year.

Villareal, 26, has 75 innings of MLB experience, striking out 86 batters but posting a 4.56 ERA.

Peavy adds an arm to the Red Sox’ rotation, a needed addition with ace Clay Buchholz still sidelined for the foreseeable future. Peavy is under contract through next season, when he’s due $14.5 million.

Iglesias played in Tuesday night’s game for the Red Sox in Boston, but he left prior to the top of the ninth. He’ll likely get regular playing time for the Tigers, with starting shortstop Jhonny Peralta expected to receive a hefty suspension for his reported involvement with the Biogenesis clinic.

Recap: Workman Earns First Win As Sox Beat M’s 8-2

Peavy’s numbers against the Red Sox’ competition in the AL East are promising as the team gears up for a two-month run toward the playoffs. The current Rays roster as a whole is batting .245 against Peavy, with six homers, 22 strikeouts and six walks. The Orioles roster is batting .209 against Peavy with zero home runs, 11 strikeouts and five walks.