A federal judge dismissed charges against two former FBI officials in October, concluding that prosecutors had brought a politically charged case marked by “rampant errors and misstatements stemming from the slapdash nature of this investigation and prosecution.” The ruling is among the clearest setbacks for President Donald Trump’s effort to pursue perceived political enemies, despite the administration’s loyal attorney general and an FBI director who had described himself as a deep-state attack dog.

In an order released this week, Magistrate Judge Zia Faruqui questioned what the case said about less-publicized prosecutions. “If a high-profile case like this is so poorly executed, what can the public expect in the run-of-the-mill case with far less resources and oversight,” he wrote.

Former FBI officials Nikki Floris and Bradley Benavides were charged in mid-October with making false statements to lawmakers in 2023. Prosecutors alleged they misled members of Congress about what they knew of the FBI investigation into Hunter Biden’s laptop years earlier. The charges did not arise from the investigation’s origins or from the Foreign Influence Task Force, the unit where Floris and Benavides worked and which focused in part on foreign efforts to interfere with US elections.

FBI agent Bryan Witt testified that Director Kash Patel ordered the agency’s Kansas City field office to investigate Floris and others for obstruction or conspiracy. Witt said the directive followed a July primetime speech in which Trump criticized Floris and other “rogue bureaucrats,” claiming they had buried intelligence that China sought to help Joe Biden win the 2020 election, in part by manufacturing illegal ballots. Trump called for the FBI and others to investigate.

According to Witt, Patel issued the directive the next day and listed potential charges. Witt testified that FBI colleagues viewed the investigation as a “witch hunt” and that he worried about its political nature. He said the evidence did not support the charges Patel had proposed or the case Trump had described. Investigators instead found statements about Hunter Biden’s laptop that Floris and Benavides made in two separate 2023 interviews and that agents believed were false.

In dismissing the case, Faruqui wrote: “The takeaway for FBI staff is to be afraid. They are one tweet away from being prosecuted by their own government.” He said the effects could reach future recruits, adding: “The harm from this weaponization is metastasizing from current staff to future recruits. What sane person would join the FBI, particularly in the national security branch, under these circumstances? Starving the FBI of talented agents and analysts is a grave risk to our national security.”

Faruqui said the charges rested on statements the pair made about their knowledge of the FBI’s investigation. Prosecutors argued they lied by denying knowledge of facts that records showed they had known about years earlier. The judge found that several statements were true and that others, made during roundabout and confusing questioning, were not knowingly false.

The judge also cited errors in Witt’s own testimony, saying they “demonstrate how easy it is to forget something important.” He added: “The Court chalks up (Witt’s) mistakes to confusion and bad memory, just as it does for Ms. Floris and Mr. Benavides,” and said that, as Witt concluded about his own misstatements, any misstatement by Floris and Benavides was “‘not an intentionally false statement.’”

Faruqui said the government had not established why the pair would lie to Congress about an investigation already under way. He wrote that “the government’s motivation ‘is clear’” in its efforts to “appease President Trump,” and said Floris and Benavides had no reason to interfere with the congressional investigation or gain from the alleged false statements.

“Instead of fleshing out the case more fully, ‘getting to the truth interfered with the rush to charge,’” Faruqui wrote. He said the motive was “to appease President Trump in his campaign of retribution against the FBI and to score cheap political points to impact the midterm elections.”

Faruqui said the prosecution had left an enduring mark on the former officials. “The stain this prosecution leaves on the good names of Ms. Floris and Mr. Benavides is incalculable,” he wrote. “No matter what they do, they will never be able to escape their names being associated with this slapdash, politicized attack on them.”

Dozens of agents fired during Trump’s second term attended the hearing in early November when Faruqui first announced his decision to dismiss the case. Former acting FBI Director Brian Driscoll was also there. Driscoll fought administration officials early in 2025 when they demanded lists of agents to purge and was later fired.

Patel has overseen the firing of scores of agents assigned to investigations into Trump and his political enemies, as well as agents considered insufficiently loyal to the president and his movement, according to lawsuits filed by fired agents.