The Senate voted 95-4 Thursday to confirm President Obama’s nominee to be the head lawyer at the Central Intelligence Agency.

Caroline Krass will now serve as general counsel of the CIA.

ADVERTISEMENT
At the same time, senators are battling with the CIA over accusations that the agency violated the government's separation of power under the Constitution by removing a file from the Senate Intelligence Committee’s computers.

Earlier this week, Intelligence Committee Chairwoman Dianne FeinsteinDianne Emiel FeinsteinSenators push mandatory sexual harassment training for members, staff Bipartisan group of lawmakers aim to reform US sugar program Senate panel to hold hearing on bump stocks MORE (D-Calif.) accused the CIA of snooping on computers that Senate investigators used to compile a 6,300-page report on the agency’s interrogation and detention programs.

The CIA has said committee staffers shouldn’t have brought a copy of the report to Capitol Hill without permission.

If this matter is investigated, Krass could be charged with defending the CIA.

Sens. Rand PaulRandal (Rand) Howard PaulGOP senator asks to be taken off Moore fundraising appeals Red state lawmakers find blue state piggy bank Prosecutors tell Paul to expect federal charges against attacker: report MORE (R-Ky.), Dean HellerDean Arthur HellerBipartisan group of lawmakers aim to reform US sugar program Dem donor on MSNBC: 'Hopefully we'll get our sh-- together' The Hill interview — DNC chief: I came here to win elections MORE (R-Nev.), Ted CruzRafael (Ted) Edward CruzOvernight Finance: GOP criticism of tax bill grows, but few no votes | Highlights from day two of markup | House votes to overturn joint-employer rule | Senate panel approves North Korean banking sanctions GOP criticism of tax bill grows, but few ready to vote against it Anti-gay marriage county clerk Kim Davis to seek reelection in Kentucky MORE (R-Texas) and Tim ScottTimothy (Tim) Eugene ScottKey differences between the Senate and House tax plans Strange bedfellows on criminal justice reform could offer Trump a legislative win Senate GOP reveals different approach on tax reform MORE (R-S.C.) voted against her nomination.

Sen. Mark UdallMark UdallDemocratic primary could upend bid for Colorado seat Picking 2018 candidates pits McConnell vs. GOP groups Gorsuch's critics, running out of arguments, falsely scream 'sexist' MORE (Colo.) had threatened to hold her nomination until his questions on the internal CIA review were answered, but in the end he voted for her confirmation.

"We need to correct the record on the CIA's coercive detention and interrogation program and declassify the Senate Intelligence Committee's exhaustive study of it," Udall said Thursday. "I released my hold on Caroline Krass's nomination today and voted for her to help change the direction of the agency."

— Jeremy Herb contributed to this article.