Former FBI Director James Comey and New York Attorney General Letitia James scored major legal victories this week when a judge determined the prosecutor who brought charges against them was serving unlawfully. But the win doesn't mean they're in the clear just yet.

Senior U.S. District Judge Cameron McGowan Currie, an appointee of former President Bill Clinton, dismissed the indictments against both targets of President Donald Trump, ruling that charging documents couldn't stand if the prosecutor who secured them wasn't legitimately appointed.

Attorney General Pam Bondi has said the Justice Department will appeal the ruling, offering one potential lifeline for the cases. But even if DOJ loses that appeal, it could seek new charges against James, and potentially against Comey, too.

"We'll be taking all available legal action, including an immediate appeal," Bondi said at a press conference Nov. 24.

Asked for comment for this story, James' office pointed USA TODAY to James' Nov. 24 statement saying she was "heartened by this victory" and remains "fearless in the face of these baseless charges."