The Senate on Thursday confirmed Gina Haspel to lead the CIA despite engrained opposition over her involvement in the George W. Bush-era interrogation program.

Senators voted 54-45 to confirm Haspel, making her the first female director of the spy agency.

GOP Sens. Rand Paul Randal (Rand) Howard PaulSecond GOP senator to quarantine after exposure to coronavirus GOP senator to quarantine after coronavirus exposure The Hill's Morning Report - Sponsored by National Industries for the Blind - Trump seeks to flip 'Rage' narrative; Dems block COVID-19 bill MORE (Ky.) and Jeff Flake Jeffrey (Jeff) Lane FlakeJeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Republican former Michigan governor says he's voting for Biden Maybe they just don't like cowboys: The president is successful, some just don't like his style MORE (Ariz.) sided with most Democrats in voting against Haspel. GOP Sen. John McCain John Sidney McCainCindy McCain endorses Biden: He's only candidate 'who stands up for our values' Biden says Cindy McCain will endorse him Biden's six best bets in 2016 Trump states MORE (Ariz.), who was captured and tortured during the Vietnam War, also opposes her nomination but is in Arizona undergoing treatment for brain cancer.

Sen. Mark Warner (D-Va.), the vice chairman of the Intelligence Committee, Sen. Jeanne Shaheen Cynthia (Jeanne) Jeanne ShaheenSenate Democrats introduce bill to sanction Russians over Taliban bounties Trump-backed candidate wins NH GOP Senate primary to take on Shaheen Democratic senator urges Trump to respond to Russian aggression MORE (D-N.H.) and red- and purple-state Democratic Sens. Joe Donnelly (Ind.), Joe Manchin (W.Va.), Bill Nelson Clarence (Bill) William NelsonDemocrats sound alarm on possible election chaos Trump, facing trouble in Florida, goes all in NASA names DC headquarters after agency's first Black female engineer Mary W. Jackson MORE (Fla.) and Heidi Heitkamp (N.D.) supported the nominee.

ADVERTISEMENT

Haspel is a veteran CIA official who has been with the agency for more than 30 years and by all accounts is well-liked by her colleagues. But her nomination received roughly half the support from Democrats that now-Secretary of State Mike Pompeo Michael (Mike) Richard PompeoOvernight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers Overnight Defense: House Democrats unveil stopgap spending measure to GOP opposition | Bill includes .6B for new subs | Trump issues Iran sanctions after world shrugs at US action at UN Navalny calls on Russia to return clothes he was wearing when he fell ill MORE, a former House member, received last year when he was confirmed as President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE’s first CIA chief.

Her nomination was immersed almost immediately by controversy because of her involvement in the agency’s post-Sept. 11 use of “enhanced interrogation techniques” — now widely viewed as torture. In particular, senators homed in on her time spent running a CIA black site and role in the destruction of videotapes documenting the interrogation of an al Qaeda suspect.

The CIA and the White House launched an all-out charm offensive in order to build support for Haspel's nomination, playing up politically favorable aspects of her largely secret career, including her work on Russia.

They also touted her support among former intelligence community officials, including James Clapper James Robert ClapperOn China, Biden is no Nixon — and no Trump The Hill's 12:30 Report - Speculation over Biden's running mate announcement Trump slams former intelligence officials to explain 'reluctance to embrace' agencies MORE, former President Obama’s director of national intelligence.

Haspel also worked to distance herself from the CIA’s former interrogation techniques. She said during her confirmation hearing before the Senate Intelligence Committee that program would not be restarted under her leadership, but dodged Democratic questions about the program’s morality.

She went a step further in a letter this week to Warner, saying the agency should not have used the so-called “enhanced interrogation” techniques.

“With the benefit of hindsight and my experience as a senior Agency leader, the enhanced interrogation program is not one the CIA should have undertaken,” Haspel wrote in the letter.

Haspel’s supporters say her comments make it clear she would not restart the program and that she was following orders in the environment that followed the deadliest terrorist attack in U.S. history.

“Throughout the process, she demonstrated candor, integrity and a forthright approach to the committee's questions. She displayed the talent and expertise that make her uniquely qualified to face America’s biggest national security challenges, whether in the area of counterterrorism or renewed international competition among great powers,” Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellPelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Senate GOP aims to confirm Trump court pick by Oct. 29: report Trump argues full Supreme Court needed to settle potential election disputes MORE (R-Ky.) said ahead of Thursday's vote.

Republican senators also pressed their colleagues on why they would confirm John Brennan John Owen BrennanJournalism or partisanship? The media's mistakes of 2016 continue in 2020 Comey on Clinton tweet: 'I regret only being involved in the 2016 election' Ex-CIA Director Brennan questioned for 8 hours in Durham review of Russia probe MORE to be CIA chief, even though he was a senior official at the agency during the Bush administration, but would stand against Haspel.

Sen. Tom Cotton Tom Bryant CottonGOP brushes back charges of hypocrisy in Supreme Court fight Trump uses bin Laden raid to attack Biden Battle lines drawn on precedent in Supreme Court fight MORE (R-Ark.) name dropped Democrats who voted for Brennan during Haspel’s appearance before the Senate Intelligence Committee.

“John Brennan supports her nomination!” he added in a tense moment, interrupting Warner. Sen. Richard Burr Richard Mauze BurrRep. Mark Walker says he's been contacted about Liberty University vacancy Overnight Defense: Trump rejects major cut to military health care | Senate report says Trump campaign's Russia contacts posed 'grave' threat Senate report describes closer ties between 2016 Trump campaign, Russia MORE (R-N.C.), the chairman of the panel, told him to stand down, but Cotton refused.

The Senate has had a contentious history with the CIA over its interrogation program. Sen. Dianne Feinstein Dianne Emiel FeinsteinBiden leads Trump by 12 points among Catholic voters: poll Names to watch as Trump picks Ginsburg replacement on Supreme Court McConnell says Trump nominee to replace Ginsburg will get Senate vote MORE (D-Calif.), the former chairwoman of the Intelligence Committee, did battle with the Obama administration over releasing a report on the program. She also took to the Senate floor to accuse the agency of spying on committee staffers working on the so-called torture report.

In 2015, the Senate approved an amendment to an annual defense policy bill, spearheaded by McCain, that banned torture. Nearly two dozen Republican senators, including members of leadership, voted against the amendment.

McCain and other opponents to Haspel’s nomination argue that her involvement in the torture program should disqualify her from running the agency.

“Ms. Haspel’s role in overseeing the use of torture by Americans is disturbing. Her refusal to acknowledge torture’s immorality is disqualifying,” McCain said in a statement.

Senators refer to McCain as the “conscience” of the Senate because of his work on the issue. But he failed to convince his colleagues to sink Haspel's nomination, even as they gathered before the Thursday vote to watch a documentary on the 81-year-old senator’s life.

Senators voting against Haspel also knocked the agency for not publicly or more broadly releasing details of her involvement with the interrogation program including the summary of the "Durham report" that detailed her involvement in the destruction of videotapes.

“Congress needs to be able to provide fully informed oversight. My questions about Ms. Haspel's role in the destruction of videotapes relevant to discussions occurring in Congress regarding the program have not been adequately answered,” GOP Sen. Jeff Flake (Ariz.) said in a statement.

The summary was shared with members of the Intelligence Committee.

Sen. Ron Wyden Ronald (Ron) Lee WydenGOP set to release controversial Biden report Democrats fear Russia interference could spoil bid to retake Senate GOP senator blocks Schumer resolution aimed at Biden probe as tensions run high MORE (D-Ore.), shortly before the vote, accused Haspel and the agency of trying to hide the more contentious aspects of Haspel’s career.

“Haspel has been exercising the unprecedented power to personally censor any facts about her that might get in the way of her nomination. When the Senate votes on a nomination, when all the relevant information is by design kept secret, how is this any different than a coverup?” he asked.