WASHINGTON (AP) — Contradicting previous White House explanations, President Donald Trump declared Thursday he had planned to fire FBI Director James Comey all along, regardless of whether top Justice Department officials recommended the stunning step. His assertions came as Comey’s temporary replacement joined in, contradicting other administration statements on the snowballing controversy.

In an interview with NBC News, Trump also said he’d asked Comey point-blank if he was under investigation and was assured three times he was not. Trump showed no concern that the request might be viewed as interference in an active FBI probe into his 2016 campaign’s possible ties to Russia’s election meddling.

“I said, ‘If it’s possible, would you let me know am I under investigation?’ He said you are not under investigation,” Trump told NBC. He said the discussions happened in two phone calls and at a dinner in which Comey was asking to keep his job.

Comey has not confirmed Trump’s account.

The New York Times late Thursday cited two unnamed Comey associates who recounted his tale of a January dinner with the president in which Trump asked for a pledge of loyalty. Comey declined, instead offering “honesty.” When Trump then pressed for “honest loyalty,” Comey told the president, “you will have that,” said the associates, who told the newspaper they agreed to keep the story confidential while Comey was FBI director.

White House spokeswoman Sarah Huckabee Sanders disputed the report and said the president would “never even suggest the expectation of personal loyalty.”

But the account echoed wording in a comment made a day earlier to The Associated Press by longtime Comey friend Daniel Richman, a former federal prosecutor, who said the president had removed “somebody unwilling to pledge absolute loyalty to him.”

The White House initially cited a Justice Department memo criticizing Comey’s handling of last year’s investigation into Hillary Clinton’s emails as the impetus for Trump’s decision. But Trump on Thursday acknowledged for the first time that the Russia investigation — which he dismissed as a “made-up story” — was also on his mind as he ousted the man overseeing the probe.

The shifting accounts of the decision to fire Comey, whom Trump derided as a “showboat” and “grandstander,” added to a mounting sense of uncertainty and chaos in the West Wing, as aides scrambled to get their stories straight and appease an angry president. Not even Vice President Mike Pence was spared the embarrassment of having told a version of events that was later discredited by Trump.

The White House’s explanations continued to crumble throughout the day Thursday. On Capitol Hill, acting FBI Director Andrew McCabe strongly disputed the White House’s assertion that Comey had been fired in part because he had lost the confidence of the FBI’s rank-and-file.

“That is not accurate,” McCabe said. “Director Comey enjoyed broad support within the FBI and still does to this day.”

Unfazed, White House spokeswoman Sarah Huckabee Sanders insisted she had heard from “countless” members of the FBI who welcomed the president’s decision.

McCabe also pointed out the remarkable nature of Trump’s version of his conversations with Comey. McCabe told a Senate panel it was not “standard practice” to tell an individual whether they are or are not under investigation.

Previous presidents have made a public show of staying out of legal matters, so as not to appear to be injecting politics. Trump’s comments demonstrated his striking deviation from that practice.

The ousted director himself is said to be confident that his own version of events will come out, possibly in an appearance before Congress, according to an associate who has been in touch with him since his firing Tuesday.

Trump and Comey’s relationship was strained early on, in part because of the president’s explosive and unsubstantiated claims that Barack Obama wiretapped Trump Tower. Comey found the allegations confounding, according to his associate, and wondered what to make of what he described as strange thoughts coming from his new boss.

The president was no kinder to Comey Thursday, calling him names and saying he’d left the FBI in “virtual turmoil.” He said that while he received a scathing assessment of Comey’s performance from Deputy Attorney General Rod Rosenstein on Monday, that memo was not a catalyst for his dramatic decision as the White House had said earlier.

“I was going to fire Comey,” Trump said. “Regardless of recommendation I was going to fire Comey.”

That’s far different that the White House’s initial account in the hours after Comey’s firing. Multiple officials, including Pence, said the president was acting at the behest of Rosenstein and Attorney General Jeff Sessions.

But it quickly became clear that the president had been stewing for days over the Russia investigation and Comey’s refusal to defend him in appearances before lawmakers. By Wednesday afternoon, the officials, like Trump, were saying he had in fact been considering ousting the FBI director for months because of a lack of confidence in his ability to lead the agency.

And the Russia investigation was still on his mind.

“In fact when I decided to just do it, I said to myself, I said you know, this Russia thing with Trump and Russia is a made-up story, it’s an excuse by the Democrats for having lost an election that they should have won,” he said.

Sanders attributed the disconnect in the week’s explanations to the fact that she had not directly asked Trump when he’d made the decision to fire Comey until shortly before Thursday’s press briefing.

The White House tried to move past the controversy, announcing that the president had signed an executive order creating a voter fraud commission and another on cybersecurity. Trump signed the orders privately and was not seen in public apart from his TV interview with NBC.

Trump had kept his decision to fire Comey from all but his closest advisers. Many in the White House were ill-prepared for the outraged response from Democrats and open concern from some Republicans.

“The challenge they have is that the president sometimes moves so rapidly that they don’t get a team around that gets it organized,” said Newt Gingrich, the former House speaker and a Trump ally. “They need to decide what they’re going to say and they need to stick with it. Random change isn’t helpful.”

White House officials and others insisted on anonymity in order to disclose private conversations and internal deliberations.

The White House said Trump is weighing options for replacing Comey, a decision that could have broad implications for the future of the Russia investigation.

Some senior officials have discussed nominating Rep. Trey Gowdy, the South Carolina Republican who ran the House committee that investigated Secretary of State Hillary Clinton’s actions in connection with the 2012 attack on a U.S. compound in Benghazi, Libya.

Trump’s advisers have repeatedly tried to downplay the Russia-election matter, with Sanders saying Wednesday the FBI was “doing a whole lot more than the Russia investigation.”

But McCabe characterized the investigation as “highly significant” and assured senators Comey’s firing would not hinder it. He promised he would tolerate no interference from the White House and would not provide the administration with updates on its progress.

“You cannot stop the men and women of the FBI from doing the right thing,” he declared. He said there has been no interference so far.

Days before he was fired, Comey requested more resources to pursue his investigation, U.S. officials have said. McCabe said he was not aware of any such request and said the Russia investigation is adequately resourced.

It was unclear whether word of the Comey request, said to have been put to Rosenstein, ever made its way to Trump.

The chairman and top Democrat on the Senate intelligence committee abruptly left the hearing Thursday to meet with Rosenstein, who is McCabe’s boss. The senators said later that the Russia investigations were discussed but Comey’s firing was not.

___

Pearson reported from New York. AP writers Darlene Superville, Deb Riechmann and Eric Tucker in Washington contributed to this report.