A federal appeals court ruled Alina Habba, a former lawyer for Donald Trump, was unlawfully appointed the top federal prosecutor in New Jersey.

Habba was Trump’s attorney in criminal and civil proceedings before he was elected to a second term.

Judges across the country have challenged the appointments of Trump loyalists serving as U.S. attorneys