The Boston Red Sox have traded right-hander John Lackey to the St. Louis Cardinals for right-hander Joe Kelly and outfielder Allen Craig before Thursday's deadline.
Earlier, the Red Sox sent their top starter, left-hander Jon Lester, to the Oakland Athletics with outfielder Jonny Gomes and cash for slugging outfielder Yoenis Cespedes and a 2015 draft pick.
Boston also traded reliever Andrew Miller to the Baltimore Orioles for minor-league pitcher Eduardo Rodriguez, and sent shortstop Stephen Drew to the Yankees for utilityman Kelly Johnson.
Lackey was 11-7 with a 3.60 ERA as the No. 2 starter in Boston's rotation.
His five-year, $82.5-million contract will expire at season's end, but it contains a clause that allows his team to add an extra year at the major-league minimum of $500,000 if he underwent Tommy John surgery at any time, and he did in 2011.
Kelly is 2-2 with a 4.37 ERA in seven starts. He has made four starts since being activated from the disabled list on July 11.
Craig is batting .237 with seven homers and 44 RBIs.