Story highlights The woman had anorexic thoughts starting at age 5, according to court documents

She refused a feeding tube because "she didn't want to get fat," according to court documents

(CNN) A woman battling a severe eating disorder who won the right to refuse forced feeding has died, according to her attorney.

A.G., as the woman is referred to in court documents, died on Monday, three months after she won the right to refuse a feeding tube in a New Jersey court.

Judge Paul Armstrong granted her the right to "live free from medical intervention" in an opinion delivered in Morris County Superior Court in November. The woman, who has suffered from various eating disorders for most of her life, fought to refuse a feeding tube but remain in palliative care.

"I'm happy my client is finally at peace and it saddens me that modern medicine and a loving, supportive family, despite all the efforts extended, weren't able to help her overcome her illness," Edward G. D'Alessandro Jr. said of his court-appointed client.

Her legal battle began when her court-appointed guardian sought an order allowing her to enter palliative care instead of being forced to use a feeding tube. The state opposed the motion, arguing in a legal brief that it would "in essence, [be] permitting A.G. to die."

Read More