WASHINGTON — The FBI won’t recommend criminal charges against Hillary Clinton for her use of a private email server while secretary of state, agency...

WASHINGTON — The FBI won’t recommend criminal charges against Hillary Clinton for her use of a private email server while secretary of state, agency Director James Comey said Tuesday, lifting a major legal threat to her presidential campaign. But Comey called her actions “extremely careless” and faulted the agency she led for a lackadaisical approach to handling classified material.

“Our judgment is that no reasonable prosecutor would bring such a case,” Comey announced after a lengthy recap of the investigation the FBI conducted.

Comey made that statement after he delivered a blistering review of Clinton’s actions, saying the FBI found that 110 emails were sent or received on Clinton’s server containing classified information. He added it was possible that people hostile to the U.S. had gained access to her personal email account.

Comey’s decision almost certainly brings the legal part of the issue to a close and removes the threat of criminal charges. Attorney General Loretta Lynch said last week that she would accept the recommendations of the FBI director and of career prosecutors.

Lynch said Friday that she would accept whatever findings and recommendations were presented to her. Though she said she had already settled on that process, her statement came days after an impromptu meeting with Bill Clinton on her airplane in Phoenix that she acknowledged had led to questions about the neutrality of the investigation.

However, Comey emphatically stated that the investigation was conducted fairly and unbiased.

“This investigation was done honestly, competently and independently. No outside influence of any kind was brought to bear,” Comey said. “Opinions are irrelevant. … We did our investigation the right way. Only facts matter, and the FBI found them here in an entirely apolitical and professional way.”

Comey contradicted Clinton’s past explanations in the case that she had turned over all of her emails and that she had never sent or received any emails that were classified at the time. The FBI chief said that in the course of the investigation, 110 emails in 52 email chains were determined to contain classified information at the time they were sent or received. He also found that “several thousand work-related emails” were not among the group of 30,000 emails Clinton turned over in 2014.

“Although we did not find clear evidence that Secretary Clinton or her colleagues intended to violate laws governing the handling of classified information, there is evidence that they were extremely careless in their handling of very sensitive, highly classified information,” he said.

The scrutiny over the past year was also compounded by a critical audit in May from the State Department’s inspector general, the agency’s internal watchdog, which said that Clinton and her team ignored clear warnings from department officials that her email setup violated federal standards and could leave sensitive material vulnerable to hackers. Clinton declined to talk to the inspector general, but the audit said that she had feared “the personal being accessible” if she used a government email account.

Yet after criticizing Clinton, her aides and the department for their actions, Comey said that after looking at similar circumstances in past inquiries, the FBI believed that no charges were appropriate.

Comey made the announcement just three days after the FBI interviewed Clinton in a final step of its yearlong investigation into the possible mishandling of classified information.

The announcement came just hours before Clinton traveled with President Barack Obama on Air Force One to campaign together for the first time this year.

The declaration from Comey is unlikely to wipe away many voters’ concerns about Clinton’s trustworthiness, especially since the FBI director so thoroughly criticized her actions before delivering his verdict.

“There is evidence to support a conclusion that any reasonable person in Secretary Clinton’s position … should have known that an unclassified system was no place” for sensitive conversations, Comey said.

After Comey’s announcement, Republican candidate Donald Trump tweeted, “The system is rigged … Very very unfair! As usual, bad judgment.”

House Speaker Paul Ryan of Wisconsin, a Republican, said the decision not to prosecute Clinton defied explanation, adding: “No one should be above the law.”