The House and Justice Department reached a deal Wednesday night to provide the probe into Russian election meddling long-sought documents and access to key witnesses.

The deal was reached after FBI Director Christopher Wray and Deputy Attorney General Rod Rosenstein made a surprise visit to House Speaker Paul Ryan (R-Wis.).

It was announced by House Intelligence Committee Chairman Devin Nunes (R-Calif.), who had sought the information and threatened more drastic action if his panel continued to be denied access to the information.

"After speaking to Deputy Attorney General Rosenstein this evening, I believe the House Intelligence Committee has reached an agreement with the Department of Justice that will provide the committee with access to all the documents and witnesses we have requested," Nunes said in a statement. "The committee looks forward to receiving access to the documents over the coming days."

Nunes has in recent months lashed out against the Justice Department over its failure to respond to requests for the documents, suggesting the department was doing so deliberately.

"At this point it seems the DOJ and FBI need to be investigating themselves," Nunes wrote in a letter to Rosenstein last week.

A small group of GOP members have suggested the FBI used the documents, found in a controversial dossier of salacious allegations about the president, in order to launch an investigation into Trump.

The House Intelligence Committee is one of multiple congressional committees conducting separate investigations into Russian meddling in the 2016 presidential election. Nunes recused himself from his committee's probe earlier this year.

Sen. Chuck Grassley (R-Iowa), who chairs the Senate Judiciary Committee, has engaged in a back and forth with officials from Fusion GPS, the research firm behind the dossier.

Fusion GPS executives recently testified before three congressional committees about the dossier.