A federal judge in eastern Virginia on Monday dismissed criminal cases against former FBI Director James Comey and New York Attorney General Letitia James, ruling that Lindsey Halligan, the interim U.S. attorney who brought both indictments, was invalidly appointed.

The attorney handling the case was not lawfully appointed, the judge ruled.

Judge says interim US attorney for eastern district of Virginia had ‘no lawful authority’ to indict former FBI director and New York attorney general