FREDERICK, Md. (AP) — A Salvadoran woman who was detained during a routine check-in after successfully suing a Maryland county for wrongful profiling and arrest has won a restraining order against U.S. Immigration and Customs Enforcement.

The Baltimore Sun reports a federal judge on Monday issued the order, directing ICE not to remove Roxana Orellana Santos from the United States.

READ MORE: U.S. Surgeon General Dr. Vivek Murthy To Address University Of Maryland School Of Medicine

Attorney Nicholas Katz says the order is a “positive first step” toward her release.

Santos was detained by ICE on Jan. 8, less than a week before a hearing to determine the extent of damages Frederick County owes in the lawsuit.

READ MORE: Dr. Anthony Fauci To Deliver Keynote Remarks At University Of Maryland, Baltimore's Commencement Ceremony

Deputies approached Santos as she ate lunch in 2008 and arrested her on an outstanding immigration warrant.

The county was found liable for the policy permitting deputies to detain people suspected of violating immigration law.

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Maryland Weather: Bright And Breezy

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