Eddie Murphy has bowed out of his gig as host of the Academy Awards, following pal Brett Ratner's decision to leave the show as producer because of an uproar over a gay slur.
The news of Murphy's departure came on Wednesday, a day after Ratner quit as producer of the February 26 show.
Ratner left amid criticism of his use of a pejorative term for gay men in a question-and-answer session at a screening of his action comedy Tower Heist, which stars Murphy and Ben Stiller.
The prolific director and producer made the offending comment in response to a question about how he works.
"Rehearsal is for fags,'' he replied.
The Los Angeles Times commented in a blog: "Ratner not only embarrassed the academy by insulting legions of gay people (who are perhaps the Oscars' last remaining loyal demographic).
"He also made himself look like even more of an artistic featherweight by making it clear that he views the hard work and preparation that most filmmakers put into their craft - i.e. rehearsal time - as being for chumps, not fast-talking smoothies like himself.''
Murphy's exit deprives Oscar organisers of a top star for an often thankless job that's tough to fill, since some past hosts have found little to gain from the gig and plenty to lose if they do a poor job as emcee of Hollywood's biggest party.
The two sides departed with cordial words, though.
"I completely understand and support each party's decision with regard to a change of producers for this year's Academy Awards ceremony,'' Murphy said in a news release from the Academy of Motion Picture Arts and Sciences.
"I was truly looking forward to being a part of the show that our production team and writers were just starting to develop, but I'm sure that the new production team and host will do an equally great job.''
Ratner had apologised for the gay slur, saying his comments had been "hurtful and stupid.''
Murphy himself has a history of homophobic humour in his early standup years. His 1983 comedy special Delirious includes a segment in which Murphy jokes about being afraid of homosexuals and worrying that gay men are staring at his butt.
Academy President Tom Sherak bid Murphy farewell graciously.
"I appreciate how Eddie feels about losing his creative partner, Brett Ratner, and we all wish him well,'' Sherak said.
Still, losing Murphy is a blow to a ceremony that has struggled to pep up its image amid a general decline in its TV ratings over the last couple of decades and a rush of hipper awards shows that appeal to younger crowds, such as the MTV Movie Awards.
Oscar planners have sought to shorten the sometimes interminably long show and have tried new ways to present awards in hopes of livening things up.
They also have experimented with unexpected choices as hosts, which worked nicely with the song-and-dance talents of Hugh Jackman three years ago but backfired at last season's show, when perky Anne Hathaway was paired with lacklustre co-host James Franco.
When the academy picked Murphy in September, it marked a return to the traditional comedian as host, a formula that delivered some of the best-remembered Oscar pageants when Bob Hope, Johnny Carson and Billy Crystal ran the show.
Academy officials would not discuss the personnel changes or plans to replace Ratner and Murphy. Ratner's producing partner for the upcoming ceremony - Don Mischer, who co-produced last year's Oscars - remains on board for the show.
Any decision on who will replace Murphy likely will not come until Oscar planners make a decision on whether to bring in another producer to work with Mischer.
Organisers still have plenty of time. The show is more than three months away, and much of the work in staging it has to wait until Oscar nominations are announced January 24, anyway.