TAMPA, Fla. -

A federal judge has approved a $25,000 deal between Casey Anthony and her bankruptcy trustees to avoid selling the rights to her life story.

Anthony agreed to pay the trustee $25,000 last month to keep her story from being sold as an asset in her bankruptcy dispute. The judge approved the settlement on Wednesday.

Anthony, who was acquitted of killing her 2-year-old daughter Caylee in July 2011, owes about $792,000 owed to several dozen creditors. She filed for bankruptcy protection in January 2013.

The trustee presented a motion in April trying to receive permission to set up a potential auction for Anthony's life story.

Anthony will now be able to sell the rights to her life story at a later time if she chooses. It's unclear how Anthony will pay the $25,000, since she has told the bankruptcy court she is nearly broke.