Avenatti called Trump a "third-rate mobster" who has unleashed the U.S. Justice Department on his "most ardent political enemies."
Trump doesn't have a high opinion of Avenatti, either. In a tweet last year, he called him "a third rate lawyer who is good at making false accusations" and "a total low-life!"
Avenatti has pleaded not guilty to charges he cheated Daniels of $300,000. Avenatti once represented Daniels regarding an alleged affair with Trump.
His court appearance was brief. A judge said she hopes to decide by October whether to move the criminal case to California.
Avenatti faces criminal charges in New York and Los Angeles related to claims he tried to extort up to $25 million from Nike and defrauded clients in California. He denies all allegations.