BEAUFORT COUNTY, S.C. (WSAV) – Alex Murdaugh has agreed to plead guilty to federal charges that he stole millions of dollars from his former clients.

According to court documents, Murdaugh agreed to plead guilty to 22 federal charges including conspiracy to commit wire fraud, bank fraud, and money laundering.

Murdaugh has agreed to pay restitution set by the court during sentencing, a special assessment fee of $100 per count. He also agrees to give up any assets and property obtained from charges in the indictment with a minimum of $9 million.

The conspiracy to commit wire and bank fraud, bank fraud, and two of the wire fraud charges all carry maximum sentences of 30 years.

The two other wire fraud charges, conspiracy to commit wire fraud charges, and 13 money laundering charges all carry a maximum sentence of 20 years.

Murdaugh is scheduled to appear in federal court to plead on Thursday.