WASHINGTON—A federal judge has ordered former White House counsel Donald McGahn to appear before Congress in a setback to President Donald Trump’s effort to keep his top aides from testifying.

The outcome could lead to renewed efforts by House Democrats to compel testimony from other high-ranking officials, including former national security adviser John Bolton.

Judge Ketanji Brown Jackson ruled Monday in a lawsuit filed by the House Judiciary Committee.

McGahn was a star witness in special counsel Robert Mueller’s investigation, and Democrats wanted to question McGahn about possible obstruction of justice by Trump. That was months before the House started an impeachment inquiry into Trump’s effort to get Ukraine to announce an investigation of former Vice President Joe Biden.

An appeal is likely.

The White House has argued that McGahn and other witnesses have “absolute immunity” from testifying.

But Jackson disputed the administration’s reasoning in a 118-page ruling. “That is to say, however busy or essential a presidential aide might be, and whatever their proximity to sensitive domestic and national-security projects, the President does not have the power to excuse him or her” from complying with a valid congressional subpoena, Jackson wrote. She is an appointee of President Barack Obama.

Whether McGahn has to provide all the information Congress seeks, though, is another matter, the judge wrote. The president may be able to assert “executive privilege” on some sensitive issues, she wrote.

McGahn was a vital witness for Mueller, whose April report detailed the president’s outrage over the investigation into Russian meddling in the 2016 election and Trump’s efforts to curtail it.

In interviews with Mueller’s team, McGahn described being called at home by the president on the night of June 17, 2017, and being directed to call the Justice Department and say Mueller had conflicts of interest and should be removed. McGahn declined the command, deciding he would resign rather than carry it out, the report said.

Once that episode became public in the news media, the report said, the president demanded that McGahn dispute the news stories and asked him why he had told Mueller about it and why he had taken notes of their conversations. McGahn refused to back down.

It’s unclear if McGahn’s testimony would include any new revelations beyond what Mueller has already released. Mueller concluded that he could not exonerate Trump on obstruction of justice, but also that there was insufficient evidence to prove a criminal conspiracy between Trump’s campaign and Russia.

House Democrats leading the impeachment inquiry have yet to try to force Bolton to testify, and a subpoena for Bolton’s former deputy, Charles Kupperman, to appear was withdrawn. Democrats have said they don’t want to get bogged down in court fights over testimony.

Your support is crucial…

With an uncertain future and a new administration casting doubt on press freedoms, the danger is clear: The truth is at risk.

Now is the time to give. Your tax-deductible support allows us to dig deeper, delivering fearless investigative reporting and analysis that exposes what’s really happening — without compromise.

During this holiday season, stand with our courageous journalists. Donate today to protect a free press, uphold democracy and ensure the stories that matter are told.

SUPPORT TRUTHDIG