The clock is ticking for the Trump administration after a federal judge ordered thousands of migrant children and parents reunited within 30 days, sooner if the youngster is under 5.
The hard deadline was set Tuesday night by U.S. District Judge Dana Sabraw in San Diego after President Donald Trump's order ending the separation of families at the Mexican border gave way to days of uncertainty, conflicting information and no guidance from the administration on when parents might see their children again.
"This situation has reached a crisis level," Sabraw wrote.
The order poses a host of logistical problems for the administration, and it was unclear how it would meet the deadline.
Health and Human Services, which takes charge of the children, referred questions to the Justice Department.
The Justice Department said the ruling makes it "even more imperative that Congress finally act to give federal law enforcement the ability to simultaneously enforce the law and keep families together."
"Without this action by Congress, lawlessness at the border will continue," the department said.
Sabraw, an appointee of Republican President George W. Bush, said children under 5 must reunited with their parents within 14 days.
He also issued a nationwide injunction against future family separations, unless the parent is deemed unfit or doesn't want to be with the child, and ordered the government to provide phone contact between parents and their children within 10 days.
The case was brought by the American Civil Liberties Union, which sued in March on behalf of a 7-year-old girl who was separated from her Congolese mother and a 14-year-old boy who was taken from his Brazilian mother.
"Tears will be flowing in detention centers across the country when the families learn they will be reunited," said ACLU attorney Lee Gelernt.
More than 2,000 children have been separated from their parents in recent weeks and placed in government-contracted shelters — hundreds of miles away, in some cases — under a now-abandoned policy toward families caught illegally entering the U.S.
Amid an international outcry, Trump last week issued an executive order to stop the separation of families and said parents and children will instead be detained together.
But parents already separated from their children were left in the dark on when and how they would be reunited, and Homeland Security seemed only to sow more confusion over the weekend.
"The facts set forth before the Court portray reactive governance — responses to address a chaotic circumstance of the Government's own making," Sabraw wrote. "They belie measured and ordered governance, which is central to the concept of due process enshrined in our Constitution."
The task ahead could be monumental: Health and Human Services Secretary Alex Azar told Congress on Tuesday that his department still has custody of 2,047 immigrant children separated from their parents at the border — only six fewer than last Wednesday.
Democratic senators said that wasn't nearly enough progress.
Under questioning, Azar refused to be pinned down on how long it will take to reunite families. He said his department does extensive vetting of parents to make sure they are not traffickers masquerading as parents.
Also challenging will be the requirement the judge set on phone contact.
At a Texas detention facility near Los Fresnos, immigrant advocates complained that parents have gotten busy signals or no answer from a 1-800 number set up by federal authorities to get information about their children.
"The U.S. government never had any plan to reunite these families that were separated," Simon Sandoval-Moshenberg of the Legal Aid Justice Center in Virginia said Tuesday. The government is now "scrambling to undo this terrible thing that they have done."
Weissert reported from Harlingen, Texas. Associated Press writers Ricardo Alonso-Zaldivar in Washington; Gene Johnson in Seattle; Robin McDowell in Austin, Texas; Amy Taxin in Santa Ana, California; and John Antczak in Los Angeles contributed to this report.