Federal officials must release Adrian Arias and his 5-year-old son, Liam, from detention, a federal district court judge ruled on Saturday.

The preschooler and his dad were taken into custody by immigration officials in a Minneapolis suburb last week.

A federal judge ordered that Liam Conejo Ramos, the 5-year-old detained at his home in Minnesota, and his father be released from a Texas ICE facility.