Embattled celebrity lawyer Michael Avenatti has been accused of embezzling almost $2 million after he struck a lucrative settlement for the former girlfriend of NBA player Hassan Whiteside.

Avenatti, as the attorney for Alexis Gardner, 27, negotiated a $3 million deal for the actress and barista, $2.75 million of which Miami Heat player Whiteside, 29, wired to a trust account set up by Avenatti in January 2017, according to bank records and an Apr. 10 indictment by a California-based grand jury.

Avenatti was entitled to $1 million in legal fees, but he did not tell Gardner about the payment and misrepresented the terms of her agreement with Whiteside, prosecutors allege in the indictment. Instead, he funneled $2.5 million into the bank account of a law firm owned by an associate so he could buy a share of a small private jet.

Avenatti told Gardner that Whiteside's first payment was for legal fees, but that she would be receive monthly installments over the next eight years. He made 11 transfers to Gardner, totaling $194,000, before the money ceased in June 2018.

Although Whiteside and Gardner confirmed the settlement in a statement, Avenatti pushed back on accusations he acted illegally or inappropriately.

“No monies were ever embezzled from anyone and I look forward to all of the relevant documents and facts being presented at trial,” he told the Los Angeles Times in an email. "The clients complaining are a very small fraction of the thousands of clients I have serviced over my nearly 20 year career."

The 36-count grand jury indictment refers to four other clients from which Avenatti allegedly stole millions of dollars, including mentally ill, paraplegic Geoffrey Ernest Johnson and YouTube makeup artist Michelle Phan. He has also been charged with tax, bank, and bankruptcy fraud, as well as perjury. He additionally faces a federal extortion and conspiracy case in New York over his dealings with Nike. Avenatti denies any wrongdoing.