Story highlights Devin Nunes had been seeking documents from the Justice Department and FBI for months

The House Intelligence Committee chairman reached a deal with DOJ Wednesday

(CNN) House Speaker Paul Ryan backed his fellow congressional Republican, House Intelligence Chairman Devin Nunes, during a meeting over the Russia investigation Wednesday, capping off a months-long dispute between the committee and the Justice Department, multiple sources with the knowledge of the situation told CNN.

CNN reported Wednesday that Ryan met with Deputy Attorney General Rod Rosenstein and FBI head Christopher Wray in his Capitol Hill office, but details emerged Thursday providing new insight into how a nasty inter-branch dispute has quietly subsided -- at least for now.

Over the summer Nunes served subpoenas seeking a broad range of documents connected to the dossier of compromising allegations about President Donald Trump's connections to the Kremlin, including those related to payments the FBI made to fund it (if any), efforts to corroborate any information contained in it and whether the FBI used information from the dossier to apply for warrants to conduct surveillance under the Foreign Intelligence Surveillance Act on Trump associates. The Justice Department has already allowed Intelligence Committee members and staff to review a number of highly classified materials at a secure location at the department, but last month Nunes escalated the feud, threatening top officials at Justice and the FBI with contempt of Congress if they did not meet all of his subpoena demands.

At Wednesday's meeting -- initiated at Rosenstein's request -- Rosenstein and Wray tried to gauge where they stood with the House speaker in light of the looming potential contempt of Congress showdown and Nunes' outstanding subpoena demands, sources said. CNN is told the discussion did not involve details of the separate Russia investigation being led by special counsel Robert Mueller.

While Ryan had already been in contact with Rosenstein for months about the dispute over documents, Rosenstein and Wray wanted to make one last effort to persuade him to support their position. The documents in dispute were mostly FBI investigative documents that are considered law enforcement sensitive and are rarely released or shared outside the bureau.

Read More