Johnny Depp has left the Fantastic Beasts film franchise, days after losing a libel case over a newspaper article which called him a wife beater.
In a letter to fans, Depp said he had been "asked to resign" from his role as Gellert Grindelwald and had "respected that and agreed to that request".
He called the libel judgement "surreal" and confirmed his plans to appeal.
Film studio Warner Bros confirmed Depp's departure and said his role would be recast.
"We thank Johnny for his work on the films to date," it said in a statement.
Depp, 57, had sued the publisher of The Sun newspaper over a 2018 article, which claimed he assaulted his ex-wife Amber Heard.
Earlier this week, Judge Mr Justice Nicol ruled The Sun had proved the article to be "substantially true".
In his letter, posted on Instagram, Depp said the judgement would not "change my fight to tell the truth".