Daniel Ramirez Medina has been detained in Tacoma since February 5.
Daniel Ramirez Medina has been detained in Tacoma since February 10. PROVIDED BY COUNSEL TO DANIEL RAMIREZ MEDINA

Nearly 50 days after he was woken up and arrested by immigration officials raiding his father's home, 23-year-old Deferred Action for Childhood Arrivals (DACA) recipient Daniel Ramirez Medina has been released from the Northwest Detention Center in Tacoma.

On Tuesday, immigration court Judge John Odell determined that Ramirez was not a flight risk or a threat to public safety and ordered him released on a $15,000 bond. Ramirez's legal team had resisted going to the immigration courts, which exist within the Department of Justice, for more than a month. Once Ramirez is processed through the immigration court system, his fate could end in deportation.

But Ramirez's lawyers' habeas corpus petition to have their client's original arrest declared unlawful is ongoing in federal court. Last week, a federal district court judge agreed with Chief Magistrate Judge James Donohue's decision not to release Ramirez, but ordered an expedited bond hearing in immigration court. Now that Ramirez has been released to his family—including his three-year-old American-born son—US District Judge Ricardo Martinez will rule on whether to deny the government's motion to dismiss Ramirez's habeas corpus petition. If the motion is not dismissed, a trial date will be set.

Ramirez was brought to the United States from Mexico as a child and twice authorized for the Obama-era DACA program. The US government has accused Ramirez of having gang affiliations, but Ramirez's lawyers say that he doesn't—and that the government has no evidence other than an unrelated tattoo on Ramirez's arm to prove it.

For more on Ramirez, read here.

Update: Ramirez issued the following statement through his legal team.

“I’m so happy to be reunited with my family today and can’t wait to see my son," he said. "This has been a long and hard 46 days, but I’m so thankful for the support that I’ve gotten from everyone who helped me and for the opportunity to live in such an amazing country. I know that this isn’t over, but I’m hopeful for the future, for me and for the hundreds of thousands of other Dreamers who love this country like I do.”