Embattled attorney Michael Avenatti has agreed to step down as lead plaintiffs counsel of a class action in which he won a $454 million verdict, but a fight remains over who will replace him.

Avenatti, best known as the lawyer who once represented the adult film actress known as Stormy Daniels in her lawsuit against President Donald Trump, faces criminal charges of extortion and bank fraud. Prosecutors in New York and California filed the charges last week, and Avenatti, who appeared with his criminal defense team in the California case on Monday, has entered no pleas in either case.