LOS ANGELES (AP) — A lawyer for an Afghan family of five who traveled to the United States on special visas and was detained in Los Angeles says immigration officials have agreed to release them.

Talia Inlender, a senior staff attorney at Public Counsel, says the government agreed to release the family Monday.

READ MORE: COVID: New Push for More Vaccinations in Santa Clara County

Messages seeking comment were left for Immigration and Customs Enforcement and the Department of Justice.

READ MORE: UPDATE: River Fire Erupts in Nevada and Placer Counties; Evacuations Ordered in Colfax

The family was detained after arriving at Los Angeles International Airport on Thursday on their way to resettle in Washington state. Lawyers say the father obtained special immigrant visas for his family after working for the U.S. government in Afghanistan.

A federal judge ordered a court hearing for Monday on the family’s case after this weekend blocking government officials from removing the family from California.

MORE NEWS: 'Mayor Of The Mission' Helps Feed People Struggling To Survive During The Pandemic

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.