Since last summer, Homeland Security has been routinely holding women and children in detention centers across Texas and New Mexico. Under pressure from border states, the Obama administration made the decision in order to stave off the large influx of undocumented workers. But the policy has been applied broadly, without regard to the individual circumstances that brought families to the border.

According the the New York Times:

The women and children were detained even after they had asked for asylum and passed the initial test to prove their cases, showing they had credible fears of facing persecution if they were sent home. Their petitions for release were routinely denied.

The America Civil Liberties Union filed a class-action lawsuit to end the policy and, on Friday, federal Judge James E. Boasberg, ordered the administration to end the detentions .

The Times reports:

[The judge] ordered immigration authorities to consider each asylum case to determine if the migrants would present risks to public safety if they were released while their cases moved through the courts. Many of the women said they were fleeing severe criminal violence at home.

The authorities "will have to look at individual cases rather than making these broad stroke determinations that moms and children should be deprived of their liberty in order to discourage future migrants from coming to the U.S. border," said Denise Gilman, a University of Texas law professor who helped bring the lawsuit.

There are currently over 1,000 women and children held in detention centers.

Image via Getty.