Cassandra C., the 17-year-old cancer patient resisting chemotherapy, does not have the right or maturity to refuse life-saving medical treatments, the Connecticut Supreme Court ruled Thursday. She will continue to receive chemotherapy and remain in state custody.

The court upheld a lower court’s ruling allowing the girl to be forced to undergo treatment for Hodgkin’s Lymphoma, according to The Hartford Courant. The decision was unanimous. Her doctors argued that she will die without proper medical care.

Cassandra C., as identified in court documents, opposes chemotherapy treatments because she “would not put poison into her body,” according to her mother, Jackie Fortin. She fears chemotherapy will do more harm to her body than the cancer.

The controversial case made headlines across the U.S., with many medical ethicists arguing the state gave precedence to medicine over parent and child. Cassandra turns 18 in September, when she will be able to make her own medical decisions.

“The general rule for adults is that you can say no to treatment no matter how life-saving it may be,” said Joshua Michtom, one of the teen’s attorneys. “You can say no even to helpful treatment. If she were 18, no matter what anyone said, it would be her choice to make.”

The hearing lasted one hour. The court agreed to an expedited ruling involving the “mature minor doctrine,” which holds that some minors possess the maturity to make their own medical decisions, even if younger than 18. Several other states, including Illinois, have held that minors have the right to forego medical treatments.

Fortin and her lawyers said they are considering their next step after losing the case, The Associated Press reports.