Updated

A judge has ordered the release of a Mexican woman after rejecting a request that she wear a monitoring device while the government seeks to deport her.

Claudia Rueda was told Friday at an immigration court in San Diego that she would be freed pending the outcome of her case. She plans to apply for a program started in 2012 under President Barack Obama that shields immigrants who came to country illegally as young children and don't have criminal records.

A government attorney told a judge that the 22-year-old was arrested twice, once for trespassing and once for disorderly conduct. He said she posed a flight risk but the judge disagreed. Rueda was arrested after demonstrating in support of people in the U.S. without proper authorization.