In other deals:
_NL East-leading Atlanta acquired outfielder Rick Ankiel, reliever Kyle Farnsworth and cash from Kansas City for pitchers Tim Collins and Jesse Chavez and outfielder Gregor Blanco.
_The Los Angeles Dodgers, seven games behind San Diego, got the left-handed Lilly, Theriot and about $2.5 million from the Chicago Cubs for infielder Blake DeWitt and minor league right-handers Kyle Smit and Brett Wallach. The Dodgers also boosted their bullpen by obtaining Dotel from Pittsburgh.
_AL West-leading Texas traded catcher Jarrod Saltalamacchia to Boston for pitcher Roman Mendez, first baseman Chris McGuiness, a player to be named later and cash.
_Tampa Bay got Qualls from Arizona for a player to be named. The 31-year-old righty reliever was 1-4 with 12 saves and an 8.29 ERA.
_San Francisco sent pitcher Joe Martinez and outfielder John Bowker to Pittsburgh for left-handed reliever Javier Lopez.
_Arizona sent catcher Chris Snyder, minor league shortstop Pedro Ciriaco and cash to the Pirates for outfielder Church, former AL Rookie of the Year Bobby Crosby and right-hander D.J. Carrasco in a trade between last-place teams.
_Detroit traded outfielder Wilkin Ramirez to Atlanta for a player to be named or cash.
_Florida got lefty reliever Will Ohman from Baltimore for minor league righty Rick VandenHurk.
Texas also completed its trade for Cristian Guzman, getting the infielder and cash from Washington for right-handers Tanner Roark and Ryan Tatusko. The active Rangers made several deals in the days leading up the deadline, acquiring ace Cliff Lee and infielder Jorge Cantu.
“I think the team’s finally set, and now we can concentrate on what we have to do _ and that’s win ballgames,” Rangers star Josh Hamilton said.
Earlier this week, Houston traded ace Roy Oswalt to Philadelphia, Cleveland sent outfielder Austin Kearns to the Yankees, Kansas City moved outfielder Scott Podsednik to the Dodgers, Minnesota got All-Star reliever Matt Capps from Washington and San Diego got infielder Miguel Tejada from Baltimore.
Teams still can make trades for the rest of the season, but it gets more tricky. Players must first pass through waivers, meaning any club can get an opportunity to claim them before a deal is done.
Deals must be completed before Aug. 31 for a player to be eligible for the postseason with his new team.
Westbrook was set to start for the Indians, but aware a deal might be brewing. He left the clubhouse for a flight to St. Louis.