Former FBI director James Comey speaks during a Senate Intelligence Committee hearing on Capitol Hill, Thursday, June 8, 2017, in Washington. (AP Photo/Andrew Harnik)
Former FBI director James Comey speaks during a Senate Intelligence Committee hearing on Capitol Hill, Thursday, June 8, 2017, in Washington. (AP Photo/Andrew Harnik)
PHOTO: Andrew Harnik/AP
Now playing
01:09
CNN, NYT, USA Today sue FBI over Comey memos
PHOTO: Getty Images
Now playing
01:42
FBI declines to hand over Comey memos
US President Donald Trump speaks during a joint press conference with Colombia
US President Donald Trump speaks during a joint press conference with Colombia's President Juan Manuel Santos at the White House on May 18, 2017 in Washington, DC.
PHOTO: JIM WATSON/AFP/Getty Images
Now playing
01:45
Trump denies asking Comey to stop Flynn probe
WASHINGTON, DC - JANUARY 26: Upon returning from Philadelphia, President Donald Trump walks along the West Wing Colonnade on his way to the Oval Office at the White House, January 26, 2017 in Washington, DC. President Trump traveled to Philadelphia for the Joint GOP Issues Conference. (Photo by Drew Angerer/Getty Images)
WASHINGTON, DC - JANUARY 26: Upon returning from Philadelphia, President Donald Trump walks along the West Wing Colonnade on his way to the Oval Office at the White House, January 26, 2017 in Washington, DC. President Trump traveled to Philadelphia for the Joint GOP Issues Conference. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
Now playing
01:55
Democrats and the 'I' word
The US Capitol building is pictured January 9, 2017 in Washington, DC.
The US Capitol building is pictured January 9, 2017 in Washington, DC.
PHOTO: Zach Gibson/AFP/Getty Images
Now playing
01:27
Presidential impeachment 101: What to know
US President Donald Trump waves as he walks towards Marine One while departing the White House on May 17, 2017 in Washington, DC en route to Connecticut. / AFP PHOTO / Olivier Douliery        (Photo credit should read OLIVIER DOULIERY/AFP/Getty Images)
US President Donald Trump waves as he walks towards Marine One while departing the White House on May 17, 2017 in Washington, DC en route to Connecticut. / AFP PHOTO / Olivier Douliery (Photo credit should read OLIVIER DOULIERY/AFP/Getty Images)
PHOTO: OLIVIER DOULIERY/AFP/Getty Images
Now playing
02:25
Obstruction of justice difficult to prove
WASHINGTON, DC - JANUARY 22: U.S. President Donald Trump (C) shakes hands with James Comey, director of the Federal Bureau of Investigation (FBI), during an Inaugural Law Enforcement Officers and First Responders Reception in the Blue Room of the White House on January 22, 2017 in Washington, DC. Trump today mocked protesters who gathered for large demonstrations across the U.S. and the world on Saturday to signal discontent with his leadership, but later offered a more conciliatory tone, saying he recognized such marches as a "hallmark of our democracy." (Photo by Andrew Harrer-Pool/Getty Images)
WASHINGTON, DC - JANUARY 22: U.S. President Donald Trump (C) shakes hands with James Comey, director of the Federal Bureau of Investigation (FBI), during an Inaugural Law Enforcement Officers and First Responders Reception in the Blue Room of the White House on January 22, 2017 in Washington, DC. Trump today mocked protesters who gathered for large demonstrations across the U.S. and the world on Saturday to signal discontent with his leadership, but later offered a more conciliatory tone, saying he recognized such marches as a "hallmark of our democracy." (Photo by Andrew Harrer-Pool/Getty Images)
PHOTO: Andrew Harrer/Pool/Getty Images/FILE
Now playing
02:10
Sources: Trump asked to end Flynn investigation
Rep. Jason Chaffetz, R-UT, speaks following the Republican nomination election for House speaker in the Longworth House Office Building on October 8, 2015 in Washington, DC. AFP PHOTO/MANDEL NGAN        (Photo credit should read MANDEL NGAN/AFP/Getty Images)
Rep. Jason Chaffetz, R-UT, speaks following the Republican nomination election for House speaker in the Longworth House Office Building on October 8, 2015 in Washington, DC. AFP PHOTO/MANDEL NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images)
PHOTO: MANDEL NGAN/AFP/Getty Images
Now playing
01:41
Chaffetz: I'm ready to subpoena for Comey memo
elijah cumming
elijah cumming
PHOTO: CNN
Now playing
00:47
Cummings: Trump has stepped over the line
gergen ac
gergen ac
PHOTO: CNN
Now playing
00:59
Gergen: Trump is in impeachment territory
Sen Angus King on TSR
Sen Angus King on TSR
PHOTO: CNN
Now playing
00:59
Senator: Trump's request impeachable, if true
Jeffrey Toobin tsr.
Jeffrey Toobin tsr.
PHOTO: CNN
Now playing
01:29
Toobin: If true, it's obstruction of justice
US Representative from California Adam Schiff, ranking member of the House Intelligence Committee, speaks to the press about the investigation of Russian meddling in the 2016 presidential election on Capitol Hill in Washington, DC, on March 24, 2017.
US Representative from California Adam Schiff, ranking member of the House Intelligence Committee, speaks to the press about the investigation of Russian meddling in the 2016 presidential election on Capitol Hill in Washington, DC, on March 24, 2017.
PHOTO: NICHOLAS KAMM/AFP/Getty Images
Now playing
01:28
Schiff: Comey memo allegations disturbing
PHOTO: Getty Images
Now playing
02:15
NYT: Trump asked Comey to end Flynn inquiry
(CNN) —  

The Justice Department will not have to release memos written by former FBI Director James Comey about conversations he had with President Donald Trump, a federal judge ruled Friday.

CNN and several other news and advocacy organizations, including USA Today and the Daily Caller, sought the memos and related documents through the court system.

But Judge James Boasberg of the US District Court for the District of Columbia Circuit said the department and office of the special counsel Robert Muller do not have to turn over the documents at this time.

The ruling comes after an extraordinary effort from top members of Mueller’s team to intervene by sharing details with the judge about their ongoing investigation, even after the FBI had shown the judge the Comey memos.

“The Comey Memos, at least for now, will remain in the hands of the Special Counsel and not the public,” the judge’s opinion said.

Boasberg wrote that Comey’s testimony before Congress, in which he described the notes he took about conversations he had with Trump before he was fired in May, wasn’t enough to force the memo’s public release, nor were other acknowledgements Comey made of their existence.

The Justice Department had argued against the Comey memos’ release, saying that it would interfere with Mueller’s investigation.

The judge’s opinion Friday disclosed that Michael Dreeben, who serves as counsel to Mueller’s team, secretly testified to the court on specifics of Mueller’s ongoing investigation. So did an FBI agent, David Archey, a counterintelligence expert who took over for Peter Strzok in the investigation, in a written declaration. Archey submitted new information to the court about the investigation and this case as recently as Thursday.

Testimony like Dreeben’s, plus submitted information like Archey’s, pushes the amount of detail in this case far beyond what’s typical for a judge to review in a Freedom of Information Act request. Though what Dreeben and Archey told the judge was shielded from the public and from the news organizations suing the government, their statements about the Mueller investigation were recorded by the court and could be made public in future appeals.

“Having heard this, the Court is now fully convinced that disclosure ‘could reasonably be expected to interfere’ with that ongoing investigation,” the judge wrote.

Comey’s memos are being used by the special counsel’s office for its investigation, which looks for possible collusion between Russia and the Trump campaign as well as the possible obstruction of justice of an ongoing federal investigation.