A federal judge on Thursday ordered U.S. Immigration and Customs Enforcement to release a Princeton University student immediately, ruling that the agency failed to provide her with a legal charging document after her circumstances changed, CBS News reported.

The student, identified in court proceedings as Eva, had been held in ICE custody. The judge's order requires the government to furnish her with a notice to appear or another legal charging document that states the change in circumstances before any further detention could proceed.

"We're relieved that Eva will be able to reunite with her family, friends and colleagues," her representatives said in a statement following the ruling.

The decision centers on a procedural requirement in immigration law: when the government's basis for detention shifts, it must issue a new charging document detailing the change. The judge found ICE had not done so, making continued custody unlawful.

Princeton University had confirmed the student's detention, which drew attention from classmates and faculty who advocated for her release. The case is one of thousands moving through federal immigration courts, where detainees often wait months for hearings while contesting the legality of their custody.

ICE has not publicly commented on the ruling or indicated whether it will appeal. The agency holds roughly 37,000 people on any given day, according to recent figures, and federal judges have increasingly scrutinized detention decisions that lack proper documentation.

Eva's release was expected to proceed Thursday. Her representatives did not specify a time or location for her reunion with family.