White House press secretary Sean Spicer holds up a document concerning a Washington Post story on Sally Yates as he talks to the media during the daily press briefing at the White House in Washington Tuesday, March 28, 2017. Spicer discussed the Supreme Court nominee Justice Neil Gorsuch, jobs, healthcare, and other topics. (AP Photo/Andrew Harnik)
White House press secretary Sean Spicer holds up a document concerning a Washington Post story on Sally Yates as he talks to the media during the daily press briefing at the White House in Washington Tuesday, March 28, 2017. Spicer discussed the Supreme Court nominee Justice Neil Gorsuch, jobs, healthcare, and other topics. (AP Photo/Andrew Harnik) Credit: Andrew Harnik

Washington — The Trump administration sought to block former acting Attorney General Sally Yates from testifying to Congress in the House investigation of links between Russian officials and Donald Trump’s presidential campaign, The Washington Post has learned, a position that is likely to further anger Democrats who have accused Republicans of trying to damage the inquiry.

According to letters The Post reviewed, the Justice Department notified Yates earlier this month that the administration considers a great deal of her possible testimony to be barred from discussion in a congressional hearing because the topics are covered by the presidential communication privilege.

Yates and other former intelligence officials had been asked to testify before the House Intelligence Committee this week, a hearing that Chairman Devin Nunes, R-Calif., abruptly canceled. Yates was the deputy attorney general in the final years of the Obama administration, and served as the acting attorney general in the first days of the Trump administration.

President Trump fired Yates in January after she ordered Justice Department lawyers not to defend his first immigration order temporarily banning entry to United States for citizens of seven Muslim-majority countries and refugees from around the world.

As acting attorney general, Yates played a key part in the investigation surrounding Michael Flynn, a Trump campaign aide who became national security adviser before revelations that he had discussed sanctions with the Russian ambassador to the United States in late December led to his ouster.

Yates and another witness at the planned hearing, former CIA director John Brennan, had made clear to government officials by Thursday that their testimony to the committee probably would contradict some statements that White House officials had made, according to a person familiar with the matter who spoke on the condition of anonymity.

Ken Wainstein, a lawyer for Brennan, declined to comment.

On Friday, when Yates’ lawyer sent a letter to the White House indicating that she still wanted to testify, the hearing was canceled.

A White House spokesperson called the story “entirely false.”

“The White House has taken no action to prevent Sally Yates from testifying and the Department of Justice specifically told her that it would not stop her and to suggest otherwise is completely irresponsible,” the White House said in a statement.

Rep. Adam Schiff, Calif., the ranking Democrat on the Intelligence Committee, said the panel was aware that Yates “sought permission to testify from the White House. Whether the White House’s desire to avoid a public claim of executive privilege to keep her from providing the full truth on what happened contributed to the decision to cancel today’s hearing, we do not know. But we would urge that the open hearing be rescheduled without delay and that Ms. Yates be permitted to testify freely and openly.”

In January, Yates warned White House counsel Donald McGahn that statements White House officials made about Flynn’s contact with the ambassador were incorrect, and could therefore expose the national security adviser to future blackmail by the Russians.