A federal judge in Michigan blocked the deportation of more than 1,400 Iraqi nationals on Monday, giving them time to make their cases in court before the government may deport them.
Interested in Immigration?Add Immigration as an interest to stay up to date on the latest Immigration news, video, and analysis from ABC News.
U.S. District Judge Mark Goldsmith entered a preliminary injunction to give the Iraqis at least three more months to argue their cases before the Board of Immigration Appeals and the courts before the government may send them back to Iraq.
In his ruling on Monday, Goldsmith said the possible deportees, many whom are Chaldean Christian, would face "grave harm and possible death" in Iraq because there they are members of a persecuted minority.
They were targeted for deportation because they overstayed their visas or committed crimes — typically misdemeanors, according to advocates.
Many of those targeted entered in the U.S. as children, and more than half of them have been in the country for more than a decade because Iraq refused to take them back, according to the ruling.
Earlier this year, the Trump administration said it would remove Iraq from its updated travel ban, and the country agreed to start accepting deportees from the U.S. after refusing to do so for many years.
In June, 234 Iraqi nationals were arrested and detained on removal orders that in most cases had been dormant for five to 10 years.
Those detained — most of them from Detroit, which has a large Chaldean Christian population — have been scattered around the country in federal detention facilities, with limited access to legal advocates and their families, the court said.
Goldsmith wrote in his ruling that returning them "to the lawlessness and senseless religious hatred that engulfs much of Iraq would subject them to persecution, torture and possible death."
"In these singular circumstances, a federal district court is armed with jurisdiction to act as a first responder," he wrote, adding that the court can assure "that those who might be subjected to grave harm and possible death are not cast out of this country before having their day in court."
The American Civil Liberties Union, which previously obtained a temporary order blocking the Iraqis' deportation, said the ruling could save lives. That order was set to expire at midnight Monday, according to the ACLU.
"This ruling continues to block the government from recklessly sending these individuals into harm's way," Judy Rabinovitz, the deputy director of the ACLU's Immigrants' Rights Project, said in a statement Monday. "The court's action could literally save lives."
There was no immediate response by the Justice Department, although lawyers at earlier court hearings signaled that an appeal was likely if Goldsmith granted an injunction, according to The Associated Press.
"This court and petitioners rely primarily on conditions in ISIS-controlled territory to establish harm. But no alien would be removed to that part of Iraq," the Justice Department's William Silvis said in a court filing last week.
ABC News' James Hill contributed to this report.