A Wisconsin judge accused of helping a man evade arrest by U.S. immigration agents lost an attempt Tuesday to throw out the Trump administration’s case against her.

The prosecution of Milwaukee County Circuit Judge Hannah Dugan has highlighted the push by President Donald Trump’ s administration to confront state and local authorities who resist his sweeping immigration crackdown.

Democrats have accused the administration of trying to make a national example of Dugan to chill judicial opposition to its deportation efforts.

She was arrested at the county courthouse in April and indicted on federal charges in May. She quickly filed a motion to dismiss the charges, arguing that she was acting in her official capacity as a judge and is therefore immune from prosecution.

However, U.S. District Judge Lynn Adelman on Tuesday rejected that argument and upheld the July recommendation of a magistrate judge who also ruled that the case could proceed.