She garnered enough votes this week after her nomination by President Trump was met with intense scrutiny over interrogation tactics the CIA has used in the past, and Haspel’s role in the interrogation program.

Gina Haspel is confirmed as CIA chief despite scrutiny of role in interrogation program. She’s the first woman to lead the agency. https://t.co/i9TW28JNxC

The Senate Intelligence Committee on Wednesday had recommended Haspel be confirmed as CIA director.

The committee voted 10 to 5 to recommend Haspel to the full Senate. Of the 100 U.S. Senators, 51 are Republicans and 49 are Democrats; while two Republicans had said they would not vote for Haspel, five Democrats have indicated they would support her nomination.

The CIA’s post-9/11 enhanced interrogation program that Haspel was involved with, as well as torture methods and waterboarding, have been contentious topics generally split along party lines. But some Democrats announced their support of Haspel on Tuesday, which indicated she would garner the Senate’s approval and be named CIA director.

She ran a black-site prison in Thailand where a high-level terrorist was detained and tortured in 2002.

Mohammed was captured in March 2003 and was kept at CIA prisons in Afghanistan and Poland. He was tortured by the CIA, including being waterboarded.

Haspel has pledged not to implement an interrogation program of that kind again.

“Having served in that tumultuous time, I can offer you my personal commitment, clearly and without reservation, that under my leadership CIA will not restart such a detention and interrogation program,” she said.