The troubled former child actor has been indicted on securities and wire fraud charges in a federal case filed in North Carolina on Tuesday.

Papers claim that from 2007 to 2012, Egan, 32, “executed a scheme to defraud victims” by promising to fund “holiday themed attractions,” land development deals and TV shows with investors’ money, but never did.

The suit says Egan provided forged bank account and other documents falsely claiming he had millions.

Instead, he used the ill-gotten funds to pay personal expenses such as “rent, groceries, restaurants, medical bills and pet care.”

If convicted, he could face 20 years in prison and a $5 million fine for securities fraud, plus 20 years and a $250,000 fine for wire fraud.

Egan made headlines for filing a suit against Garth Ancier, director Bryan Singer and other Hollywood heavies, claiming the men molested him in the ’90s.