Ramped-up immigration enforcement in several cities this week has resulted in the detention of hundreds or more people in the country unlawfully, according to attorneys and advocacy groups, who said they expected most of them to be deported.

Illegal immigrants were rounded up in the metropolitan areas of Atlanta; Austin, Texas; Charlotte, N.C.; and across southern California, among others, they said.

President Donald Trump set an ambitious course when he took office through a series of executive orders, promising to build a wall on the southern border with Mexico, deport millions of undocumented immigrants, suspend the refugee program and pause the admittance of foreign nationals from certain countries.

But his plans hit a roadblock when a Seattle federal judge halted his travel ban on immigrants from seven Muslim-majority nations considered a terror threat, and the decision was upheld by the Ninth Circuit court this week.

Still, that didn’t prevent Mr. Trump from rolling out enforcement of a separate executive order targeting immigrants living in the U.S. illegally.