A five-year-old boy and his father detained by immigration officers in Minnesota and held in Texas have been released following a judge’s order. They have returned to Minnesota, according to the office of Democratic Rep. Joaquin Castro.

Liam Conejo Ramos and his father, Adrian Conejo Arias, were detained in a Minneapolis suburb on Jan. 20 before being taken to a detention facility in Dilley, Texas.

Katherine Schneider, a spokesperson for Castro, confirmed the two had arrived home. She said the Texas congressman picked them up in Dilley on Saturday night and escorted them home on Sunday to Minnesota.

Castro wrote a letter to Liam while they were on the plane to Minnesota, in which he told the young boy he has “moved the world.”