President Biden's administration failed to heed certain warnings from U.S. officials on the ground in Afghanistan prior to the president's withdrawal operation in 2021, a top House Republican says.

House Foreign Affairs Committee Chairman Michael McCaul, R-Texas, viewed a State Department document detailing the concerns diplomats at the U.S. Embassy in Kabul had at the time of the withdrawal. McCaul worked for months to access the document, known as a dissent cable, through subpoenas and a threat of contempt charges before viewing the document himself on Tuesday.

"The dissenters were absolutely right about everything they said, and it was a warning to the administration about what was going to happen and what they needed to do," McCaul told Punchbowl News in an interview, adding that the dissenters "deserve a medal."

"Unfortunately, the administration didn’t heed all their warnings and we got what we got," he added.

FIRST HOUSE HEARING ON BIDEN ADMIN'S AFGHANISTAN WITHDRAWAL TO DISSECT 'STUNNING FAILURE' OF LEADERSHIP

President Joe Biden

President Biden is facing a Republican investigation into his handling of the U.S. withdrawal from Afghanistan in 2021. (Kevin Dietsch/Getty Images)

McCaul viewed a version of the document that had the names of the dissenters redacted. Only he and Rep. Greg Meeks, D-N.Y., the ranking member of the committee, were permitted to view the document.

Meeks argued the document revealed no new information, however, it "puts to rest this whole thing about having a subpoena and the president is hiding something or whatever it is."

MCCAUL TARGETS CHINA, AFGHANISTAN WITHDRAWAL AS TOP OVERSIGHT PRIORITIES: ‘I HAVE SUBPOENA POWER’

Secretary of State Antony Blinken had for months stonewalled McCaul's attempts to access the document, ignoring multiple subpoena deadlines and offering half measures such as a briefing on the document's content rather than a look at the document itself.

Rep. Michael McCaul (R-TX) arrives to a caucus meeting with House Republicans on Capitol Hill

House Foreign Affairs Committee Chairman Michael McCaul, R-Texas, viewed a dissent cable from U.S. officials in Afghanistan who had concerns about parts of President Biden's withdrawal plans. (Drew Angerer/Getty Images)

McCaul did not make any progress until earlier in May when he threatened to hold Blinken in contempt of Congress for blocking access. Even so, only he and Meeks were allowed to view the document Tuesday, despite McCaul's wish for every member of the Foreign Affairs Committee to gain access.

CLICK HERE TO GET THE FOX NEWS APP

It is unclear whether McCaul will continue to push for other members' access after viewing the document itself. McCaul had initially threatened to go into the criminal contempt process on Wednesday. His office clarified that next steps have yet to be set in stone.

"I am thankful to Secretary Blinken for allowing myself and Ranking Member Meeks to view the dissent channel cable – an unprecedented occurrence. However, every member on our committee should be granted this same access," he said in a Wednesday statement. "Although I cannot discuss the classified information in the cable, I can say the dissenters were right – and the administration should have listened. I am going to speak with Ranking Member Meeks and my Republican and Democrat colleagues on the committee to discuss our next course of action if the State Department continues to block all committee members from seeing this cable as the subpoena requested."