The judge at former Trump campaign chief Paul Manafort's trial has sealed a discussion with lawyers that ensued after Manafort's deputy Rick Gates was asked by a defense attorney whether special counsel Robert Mueller's team had questioned him about his campaign work.
Judge T.S. Ellis, in his sealing order signed Thursday, wrote that allowing the discussion to become public "would reveal substantive evidence pertaining to an ongoing government investigation."
While Manafort is on trial in U.S. District Court in Alexandria, Virginia, for alleged crimes that are unrelated to the 2016 presidential election, Mueller is continuing to investigate Trump campaign officials for possible collusion with Russians who were attacking the election. President Donald Trump has repeatedly called that probe a "witch hunt."
In a new court filing on Friday in federal court in Washington, Mueller and Gates jointly informed another judge that Gates continues to meet with Mueller's team as required by his plea agreement, and "the investigation, which includes the possible continued need for assistance from [Gates] ... is ongoing."
The sealed discussion occurred Tuesday in Ellis' courtroom in Alexandria as Gates was testifying against Manafort, a longtime Republican lobbyist and consultant.
Gates earlier this year pleaded guilty in the same case to conspiracy and to making false statements, and agreed to cooperate with Mueller in the prosecution of his former boss Manafort.
Manafort is accused of bank fraud and tax crimes related to his work for a pro-Russia political party in Ukraine. He has pleaded not guilty in that case now on trial, as well as in another, related case pending in federal court in Washington, where he is scheduled to go on trial this fall.
During his cross-examination, Manafort's lawyer asked Gates several times whether Mueller's investigators had questioned him about his work on the Trump campaign.
Prosecutors objected to the questions, which led Ellis to call them and Manafort's lawyers to a sidebar conference. That chat occurred out of earshot of the jury, reporters attending the trial and other members of the public in the courtroom.
Transcripts of sidebar conferences typically are available to the public, on request from a stenographer who records the discussion.
But on Thursday, after Gates wrapped up three grueling days on the witness stand, Mueller's team asked that a portion of the sidebar be sealed.
Prosecutors said in a court filing that during the sidebar "substantive evidence pertaining to an ongoing investigation was revealed."
Sealing the portion of the transcript "will minimized any risk of prejudice from the disclosure of new information relating to that ongoing investigation," prosecutors wrote.
Ellis granted their request later Thursday.
The judge said that the relevant portions would remain sealed "until the relevant aspect of the investigation is revealed publicly, if that were to occur."
A legal source who has been following the case said the idea that Gates may be cooperating with Mueller on his probe of the Trump campaign "makes sense since Mueller is investigating foreign contributions to the Trump campaign and inaugural committee, and Gates worked for both."
Lawyers for Manafort did not immediately respond to CNBC's request for comment on the government's request to hide the bench discussion. A spokesman for Mueller declined to comment.
Prosecutors are expected to finish presenting witnesses and evidence in their case in chief on Friday.
It is not clear if Manafort's lawyers will call any witnesses of their own.
Jurors could begin deliberating Manafort's fate next week.