| LOS ANGELES
LOS ANGELES A U.S. federal judge on Friday ordered the government to swiftly release immigrant children held at detention centers, affirming a July ruling that said some minors who crossed the border illegally were being detained in violation of a long-standing settlement.
The ruling by U.S. District Judge Dolly Gee in Los Angeles gave the administration of President Barack Obama until Oct. 23 to comply with her order to release hundreds of unauthorized immigrant children, and in some cases their mothers, "without unnecessary delay."
Gee's ruling comes amid debate by U.S. presidential candidates over illegal immigration and follows an influx of immigrants from Central America across the U.S.-Mexico border.
Last year, more than 68,000 children traveling without a parent entered the country. The federal government has held unaccompanied children, or children caught with a parent, in special facilities.
The federal government has also taken steps to release unaccompanied immigrant children from border detention centers, often to a family member living in the United States.
Last month, Gee ruled the Department of Homeland Security was keeping children at detention centers in violation of a 1997 class-action settlement that said juveniles under the age of 18 cannot be held for more than 72 hours.
If a parent was caught with his or her child, authorities could justify keeping the adult in custody if the person is a "significant flight risk" or poses a safety concern, the ruling said.
The ruling was seen as a defeat for U.S. immigration authorities, who in court filings argued releasing undocumented immigrant children encourages families in Central America to undertake the dangerous journey north.
U.S. officials are holding 1,400 parents and children at three centers, according to the Los Angeles Times.
Gee called conditions a the family detention centers - two in Texas, one in Pennsylvania - "deplorable" and said in some cases children were kept in crowded rooms for days without places to sleep.
The government said last month it was "disappointed" with the decision and was efforting to move children and their mothers through family immigration detention centers as quickly as possible.
The government is expected to appeal Friday's ruling. The agency could not be immediately reached for comment.
(Reporting by Victoria Cavaliere; Editing by Toby Chopra)