O'Donnell played in all 82 of Anaheim's games in 2007-08, scoring twice and adding seven assists for nine points with a plus-9 rating. He was 1-1-2 and plus-3 in the Ducks' six-game playoff loss to Dallas.
O'Donnell began his NHL career with the Kings in 1994 and played six seasons with L.A. before going to Minnesota in 2000. He spent the last two-plus seasons with the Ducks after being traded to Anaheim by Phoenix in 2005-06.
The deal came four days after Anaheim dealt 39-year-old blueliner Mathieu Schneider to Atlanta for three players, including 37-year-old defenseman Ken Klee.
O'Donnell, a 6-foot-3, 234-pound defensive defenseman, was a sixth-round pick by Buffalo in the 1991 Entry Draft, but was dealt to Los Angeles before making his NHL debut. He has appeared in 932 regular-season games during 13 NHL seasons, scoring 27 goals and adding 150 assists for 177 points with 1,558 penalty minutes. O'Donnell was part of the Ducks' 2006 Cup-winning team and has played in 767 of a possible 826 games over the last eight seasons, appearing in at least 79 games in eight of the last 10 seasons.
The Ducks will get a conditional third-round pick from the Kings, who got the selection from Buffalo in an earlier trade.
The trade marks only the second deal between the Kings and the Ducks in this history of the franchises. In February, the Kings traded backup goaltender Jean-Sebastien Aubin to Anaheim for a seventh-round choice in the 2008 Entry Draft.