The Trump administration has argued that Khalil, a Columbia University student, did not disclose past affiliations.

A United States federal judge has allowed the administration of President Donald Trump to keep student protester Mahmoud Khalil in custody based on allegations of immigration fraud.

On Friday, Judge Michael Farbiarz of Newark, New Jersey, ruled that Khalil’s legal team had not adequately shown why his detention on the charge would be unlawful.

It was a major setback for Khalil, who had been a negotiator for the student protesters at Columbia University demonstrating against Israel’s war on Gaza. He was the first high-profile protester to be arrested under Trump’s campaign to expel foreign students who participated in pro-Palestinian advocacy.

Just this week, Farbiarz appeared poised to order Khalil’s release, on the basis that his detention under the Immigration and Nationality Act of 1952 was unconstitutional.