CIA director John Brennan
CIA director John BrennanReuters

The United States Senate confirmed John Brennan as CIA director Thursday after the White House doused a fierce debate over the potential use of domestic drones, which held the potential to delay the filling of the crucial post.

Brennan, a counter-terrorism expert and 25-year veteran of the CIA who was the architect of the controversial secret program that uses armed drones in "targeted killings" overseas, was given the green light after a two-month confirmation process that heated up in its final week.

The Senate voted 63-34 with several Republicans approving Brennan following a dramatic 13-hour filibuster the night before by Senator Rand Paul, who demanded clarification from the White House on the limits of the government's legal power to kill its own citizens on American soil.

Obama welcomed the vote, praising Brennan's "determination to keep America safe, his commitment to working with Congress, his ability to build relationships with foreign partners and his fidelity to the values that define us as a nation."

The Brennan confirmation fills a crucial position on Obama's national security team, after senators gave their approval to the highly controversial Chuck Hagel as secretary of defense and John Kerry as secretary of state.

Despite his reservations, Paul was among several Republicans who allowed the Brennan vote to proceed, although he ultimately voted against Brennan's confirmation.

The senator from Kentucky had delayed the nomination, seeking clarification from the White House over whether it was American policy to allow the killing by a drone strike of a "non-combatant American citizen on US soil."

He got his answer Thursday, when Attorney General Eric Holder wrote to tell Paul that this was not US policy.

Paul said that receiving Holder's letter proved that "the entire battle was worthwhile," AFP reported.

The unmanned aerial drone program had emerged as the most contentious element of Brennan's nomination to head the CIA.

Earlier this week Holder had said that, while Obama had "no intention" of ordering drone strikes on US soil, the scenario could be possible if there was an "extraordinary circumstance" such as an attack similar to 9/11.

Paul acknowledged that US drone strikes have proven effective in places like Pakistan and Yemen, including a deadly strike on US-born radical preacher Anwar al-Awlaki, whom Paul branded a traitor.

However he added during his filibuster that, "If you're going to kill non-combatants, people eating dinner, in America, there have to be some rules."

The New America Foundation estimates that US drones have conducted about 350 attacks since 2004, most of them under Obama, who ramped up the program after taking over the White House from his predecessor George W. Bush, according to AFP.

Between 1,963 and 3,293 people were killed by the strikes, including 261 to 305 civilians, according to think-tank.

Obama stressed that, "timely, accurate intelligence is absolutely critical to disrupting terrorist attacks, dismantling Al-Qaeda and its affiliates, and meeting the broad array of security challenges that we face as a nation."

Brennan replaces David Petraeus, who resigned suddenly from the top CIA job in November after it was revealed he had had an extramarital affair with his biographer.