The U.S. attorney general on Tuesday struck down a decision that had allowed some asylum-seekers to ask for bond in front of an immigration judge, an action that expands indefinite detention for some migrants who must wait months or years for their cases to be heard.

The first immigration court ruling from U.S. President Donald Trump's newly appointed attorney general, William Barr, is in keeping with the administration's moves to clamp down on the asylum process as tens of thousands of mostly Central Americans cross into the United States asking for refuge. U.S. immigration courts are overseen by the Justice Department, and the attorney general can rule in cases to set legal precedent.

This year the administration implemented a policy to return some asylum-seekers to Mexico while their cases work their way through backlogged courts, a policy that has been challenged with a lawsuit.