Why did he do it? FBI director James Comey spent 14 minutes laying out an unassailable case for prosecuting Hillary Clinton for the mishandling of classified material. Then at literally the last minute, he recommended against prosecution.

This is baffling. Under the statute (18 U.S.C. section 793(f)), it’s a felony to mishandle classified information either intentionally or “through gross negligence.” The evidence, as outlined by Comey, is overwhelming.

Clinton either sent or received 110 emails in 52 chains containing material that was classified at the time. Eight of these chains contained information that was top secret. A few of the classified emails were so marked, contrary to Clinton's assertion that there were none.

These were stored on a home server that was even less secure than a normal Gmail account. Her communications were quite possibly compromised by hostile powers, thus jeopardizing American national security.

“An unclassified system was no place for that conversation,” said Comey of the classified emails.

Comey summed up Clinton’s behavior as “extremely careless.” How is that not gross negligence?

Yet Comey let her off the hook, citing lack of intent. But negligence doesn't require intent. Compromising national secrets is such a grave offense that it requires either intent or negligence.

Lack of intent is, therefore, no defense. But one can question that claim as well.

She meant to do what she did. And she did it. Intentionally.

That’s two grounds for prosecution, one requiring no intent whatsoever. Yet Comey claims that no reasonable prosecutor would bring such a case. Nor has one ever been brought.

Not so. Just last year, the Justice Department successfully prosecuted naval reservist Bryan Nishimura, who improperly downloaded classified material to his personal, unclassified electronic devices.

The government admitted that there was no evidence that Nishimura intended to distribute the material to others. Nonetheless, he was sentenced to two years of probation, fined and forever prohibited from seeking a security clearance, which effectively kills any chance of working in national security.

So why not Hillary Clinton? The usual answer is that the Clintons are treated by a different standard. Only little people pay. They are too well connected, too well protected to be treated like everybody else.

Alternatively, the explanation lies with Comey: He gave in to implicit political pressure, the desire to please those in power.

Certainly plausible, but given Comey’s reputation for probity and given that he holds a 10-year appointment, I’d suggest a third line of reasoning.

Prosecuting under current circumstances would have upended and redirected an already year-long presidential selection process. In my view, Comey didn’t want to be remembered as the man who irreversibly altered the course of American political history.

And with no guarantee that the prosecution would succeed, moreover. Imagine that scenario: You knock out of the race the most likely next president — and she ultimately gets acquitted! Imagine how Comey goes down in history under those circumstances.

I admit I’m giving Comey the benefit of the doubt. But the best way I can reconcile his reputation for integrity with the grating illogic of his Clinton decision is by presuming that he didn’t want to make history.

I don’t endorse his decision. But I think I understand it.