Slugger Manny Ramirez's stormy relationship with the Boston Red Sox is over.

Ramirez has been traded to the Los Angeles Dodgers.

The Red Sox will pay the remaining $7 million of Ramirez's contract owed for this season, ESPN.com's Peter Gammons reported.

"When a player like Manny becomes available, I don't think there's a manager in baseball who wouldn't say they're interested," said Dodgers manager Joe Torre, whose Yankees teams went toe-to-toe with Ramirez for years. "It was something that happened very quickly, obviously."

Outfielder Jason Bay is going to Boston and the Pittsburgh Pirates get four minor leaguers as part of the three-way deal.

Third baseman Andy LaRoche and right-handed pitcher Bryan Morris will go to the Pirates from the Dodgers. Outfielder Brandon Moss and right-handed pitcher Craig Hansen will leave the Red Sox organization for Pittsburgh.

Wednesday's remarks by Ramirez, who has been involved in trade rumors the past few years, might have been the final straw for the Red Sox.

"The Red Sox don't deserve a player like me," Ramirez told ESPNdeportes.com. "During my years here, I've seen how they [the Red Sox] have mistreated other great players when they didn't want them to try to turn the fans against them.

"The Red Sox did the same with guys like Nomar Garciaparra and Pedro Martinez, and now they do the same with me. Their goal is to paint me as the bad guy. I love Boston fans, but the Red Sox don't deserve me. I'm not talking about money. Mental peace has no price, and I don't have peace here."

Dodgers infielder Garciaparra, who played for the Red Sox from 1996-2004, said he's always had the utmost respect for Ramirez.

"It's nice to see we've done something like this, to make a push for the next two months," Garciaparra said. "I think he'll be just fine. Manny is really a simple person. He works extremely hard. He just wants to play baseball and go home and be with his family. How can you not respect and love a guy like that?"

Ramirez, the MVP of the 2004 World Series, remains one of baseball's best hitters and has enjoyed plenty of big moments in October. But his relationship with the Red Sox soured -- again -- in recent months, prompting the All-Star outfielder to agree to the deal.

The Dodgers began the day one game behind first-place Arizona in the NL West, and were seeking a big bat. Boston, in the middle of the AL East race and chasing a second straight World Series title, wanted a productive hitter in return and got that in Bay.

At 29, Bay is a two-time All-Star and was hitting .282 with 22 home runs and 64 RBIs. Tampa Bay pursued Bay before he wound up with the Red Sox, who trail the first-place Rays by three games in the AL East.

Even before landing the enigmatic Ramirez, Los Angeles had a crowded outfield. Torre has been juggling Matt Kemp, Andre Ethier, Andruw Jones and Juan Pierre.