Yemenis gather near the rubble of houses destroyed by Saudi airstrikes near the airport in Sanaa. (Hani Mohammed/AP)

The CIA’s drone base in the rippled surface of the Saudi Arabian desert has undergone major renovations over the past few years. Satellite imagery shows dozens of additions that appear to include living quarters, a new clamshell hangar for hiding aircraft and neat rows of freshly planted palm trees.

That base is one of the few components of the Obama administration’s counterterrorism campaign in Yemen that remain intact.

Agency and U.S. military personnel have been pulled out of Yemen amid escalating sectarian violence in recent weeks. Elite Yemeni units that the United States trained to hunt al-Qaeda have been scrambled by the government’s collapse. And millions of dollars’ worth of U.S.-provided military equipment has been destroyed in a span of days by Saudi airstrikes aimed at rendering those arms useless to the Iran-backed rebels who control the capital.

The vacuum, U.S. officials say, appears to have allowed al-Qaeda in the Arabian Peninsula to focus on rebuilding its strength after years of U.S. drone strikes against its leaders. A prison break in eastern Yemen on Thursday freed as many as 300 inmates — including a senior AQAP leader — in an operation seen as part of a broader effort by the group to shore up its ranks.

U.S. officials said that the CIA’s armed drones are still flying over Yemen, prepared to launch strikes against AQAP members. Officials also insisted that U.S. intelligence support to the Saudi air campaign has not diverted resources from tracking the group.

But the counterterrorism fight has gone from the most active battlefront in Yemen to a secondary conflict, swallowed up by a civil war that is serving as a proxy for a broader regional struggle between Saudi Arabia and Iran.

The United States has not carried out a drone strike in Yemen since mid-February, when Houthi rebels formally declared their takeover of the government. The drone campaign has been characterized by such pauses for several years, but U.S. officials said that they are likely to become more common and lengthy as ground-level intelligence missions in the country grind to a halt.

“With the deterioration in security, and a diminution in counterterrorism cooperation, the pressure has been taken off AQAP,” said Rep. Adam B. Schiff (Calif.), the ranking Democrat on the House Intelligence Committee. “We still obviously have intelligence in Yemen,” he said, “but we’re more reliant on our overhead assets.”

The chaos would appear to give AQAP a major opening, a chance to ramp up terrorist plotting against the West while also asserting itself as the defender of Sunni Muslims across Yemen who are threatened by advancing Shiite-dominated Houthi militias.

Before the Thursday prison raid, though, AQAP had been relatively inactive. Aside from claiming credit for a series of small-scale attacks against Houthi fighters — who see Sunni-dominated al-Qaeda as an adversary — the group has avoided exposure to more direct confrontations or lingering American drones.

“The initial evidence is actually that the Houthi advance has caused [AQAP’s] external plotting to be sidelined while they figure out how they’re going to deal with . . . what appears to be an emerging civil war,” said a senior U.S. military official, who like others spoke on the condition of anonymity because of the sensitivity of the matter.

For now, the United States and al-Qaeda are in oddly similar positions of warily assessing the course of the unfolding war in Yemen and the impact of that conflict on their abilities to proceed.

“The [U.S.] counterterrorism strategy has been kicked aside for a while,” said Khaled Fattah, a Yemen expert, adding that he expects AQAP to become increasingly involved in fighting the Houthis, especially in the country’s southern and eastern provinces.

U.S. officials continue to see AQAP as posing the most direct danger to the United States, even amid the rise of new terrorist groups including the Islamic State. Al-Qaeda’s Yemen franchise was linked to the attacks in Paris in January as well as to previous attempts to detonate bombs on U.S.-bound aircraft.

The CIA’s airstrip in Saudi Arabia has been a critical hub in the U.S. assault on AQAP, serving as a base for remotely piloted aircraft that have carried out dozens of strikes, including one that killed the U.S.-born al-Qaeda operative Anwar al-Awlaki in 2011.

Satellite images show that the remote facility has undergone significant expansion since then, underscoring its importance to a campaign whose reliance on U.S. technical prowess has defined President Obama’s counterterrorism approach.

But other aspects of that strategy — including the U.S. dependence on local security forces to shoulder on-the-ground risk — have unraveled since its most staunch supporter in Yemen, former president Abed Rabbo Mansour Hadi, was forced from office and then fled the country.

Administration officials have sought to play down the damage to U.S. capabilities. White House press secretary Josh Earnest said late last month that while instability in Yemen “does not enhance our counterterrorism efforts . . . we continue to have significant counterterrorism resources and abilities.”

Current and former U.S. officials said the American ability to find drone targets hinged on other streams of intelligence that have been disrupted, if not severed, amid Yemen’s downward spiral. Among the most critical sources of intelligence for the airstrikes was a network of informants established and run by Saudi Arabia, whose security services are presumably preoccupied with finding Houthi targets for the kingdom’s fighter jets.

“The human contact that allows intelligence to be exquisitely defined is now lacking,” the senior U.S. military official said. “Our other forms of intelligence remain available to us — it’s just a diminished capacity.”

In a measure of how chaos has confused battle lines, Saudi Arabia and AQAP — each committed to the other’s destruction — are now focused on a common enemy in the Houthi rebels.

AQAP has not condemned Saudi Arabia’s intervention in the conflict, according to Yemen experts who see the group’s silence as an indication that its leaders believe they stand to gain from the Saudi strikes.

By contrast, AQAP denounced a pair of mosque bombings aimed at Houthis last month by militants claiming ties to the Islamic State, a rival group also known as ISIS that has declared itself the head of a restored caliphate in Syria and Iraq.

The prison break Thursday, in which heavily armed fighters poured out of a pickup truck, was both a brazen move by AQAP to replenish its ranks and a sign of how completely security in the country has collapsed. The operation also echoed the origin of AQAP, which was launched in 2006 when 23 fighters escaped a Saudi prison. Among them was Nasir al-Wuhayshi, the group’s longtime leader and now al-Qaeda’s second in command.

Counterterrorism experts said that AQAP may feel pressure to consolidate its position in Yemen before asserting itself militarily but is unlikely to abandon its commitment to plots against the United States.

“I think the interesting question now is how much does AQAP reorient itself toward fighting the Houthis,” said Daniel Benjamin, a professor at Dartmouth who previously served as the top counterterrorism official at the State Department. Benjamin said AQAP may feel compelled “to try to crowd out ISIS in Yemen before ISIS becomes a powerful reality there.”

Hugh Naylor in Sanaa and Missy Ryan in Washington contributed to this report.

Read more:

Yemen’s Houthi rebels get boost from country’s ousted dictator

How the Yemen conflict risks new chaos in the Middle East

Today's coverage from Post correspondents around the world