A federal judge has ordered the Trump administration to bring a Colombian woman back to the U.S. from Congo, after she was deported to the African nation that had refused to accept her.

The deportation of Adriana Maria Quiroz Zapata “was likely illegal,” U.S. District Judge Richard J. Leon ruled Wednesday.

Zapata, 55, who has diabetes and a thyroid condition, “has been sent to a country that refused to accept her because they cannot provide sufficient medical care,” the ruling said. “As a result, she faces a daily risk of medical complications, up to and including death.”

Black spots began to grow on Zapata’s back and foot while she was in detention, her skin started to peel and her nails blackened, according to a declaration that Zapata submitted in court, and which was provided to the AP by her lawyer.

“She’s not doing well and does worry that she’s going to die,” her lawyer, Lauren O’Neal, said.