SEATTLE, WA - Members of an Afghan family detained in the Los Angeles area by federal agents on their way to Seattle will be released, according to multiple reports.

The family, including a mother, father, and children ages 7, 6, an 8 months, was stopped in Los Angeles on Thursday while trying to make a connecting flight to Seattle. Federal customs officials did not say why the family was detained.

BREAKING: Lawyer for Afghan family detained in Los Angeles says immigration officials have agreed to release them, via @AP

— KING 5 News (@KING5Seattle) March 6, 2017

On Saturday night, a judge granted a restraining order to prevent U.S. Customs and Border Protection agents from transferring members of the family outside of southern California, according to the Los Angeles Times. The government had planned to move some of the family to a detention center in Texas.