The president of the United States is now at the center of an obstruction-of-justice investigation by the FBI. There can be no other conclusion after last week’s guilty plea by former National Security Adviser Michael Flynn and the bewildering statements made over the past few days by Donald Trump.

This is a perilous time. Regardless of your feelings about Trump and whether there is evidence that he broke any laws, there is a great risk to his attempts to undermine our independent system of justice.

Firing special counsel Robert Mueller, who is conducting a legitimate and serious investigation, would bring disastrous consequences. So would a pardon of Flynn to stop him from telling the FBI what he knows — information that will enable prosecutors to determine whether anything more than rank incompetence resulted in improper contacts with Russia and the firing in May of former FBI Director James Comey.

Trump continues to lash out at the FBI and the attorney general, and to demand the Justice Department open criminal investigations of his political opponents. A statement Trump tweeted Sunday encapsulates it all: “After years of Comey, with the phony and dishonest Clinton investigation (and more), running the FBI, its reputation is in Tatters — worst in History! But fear not, we will bring it back to greatness.”

In mistakenly venting his frustrations and worries about the special counsel’s probe, Trump is turning to the playbook that made him a successful candidate — the twisting of facts, discrediting of the media and undermining of intelligence and investigatory agencies.

For instance, Mueller properly removed a top FBI agent on the Russia case because of a text last summer to another agent that seemed to favor Hillary Clinton over Trump. And shortly after the dramatic Flynn news broke last Friday, there was an erroneous report by ABC News that Flynn was directed by Trump to contact the Russians.

To Trump, this was a boiling stew of fake news and deep state conspiracy theories. Combined with his own flaw of telling lies for his convenience, the result is to sow deep doubts about the legitimacy of the few institutions that can check his power. All the while, Trump assures his followers that he is the only one who can fix all these problems.

Remember, Richard Nixon, Ronald Reagan and Bill Clinton were all investigated by some version of a special counsel for obstruction of justice. Only one, Nixon, tried to use the CIA to interfere with the FBI’s efforts to follow the money.

President Nixon fired special prosecutor Archibald Cox and ransacked the Justice Department, all of which led the House Judiciary Committee to approve obstruction of justice as its first article of impeachment. Nixon resigned before a full impeachment vote in the House of Representatives, but Watergate left the nation reeling for decades.

Flynn pleaded guilty to lying about two conversations he had with the Russian ambassador. Why did he lie to the FBI about the contacts? Was it to hide dealings with Russia, including collusion, to interfere with the 2016 election? Was it to protect the president? Did Trump fire the FBI director to stop the Russia probe?

Any finding by Mueller that the president obstructed justice would be deeply troubling for the nation. If the president prevents us from finding out what happened, it would be even worse.