-- 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.
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."
"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."
"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.