SANAA, Yemen — Al-Qaida militants have seized control of key areas in and around Yemen’s port city of Aden, high-ranking security officials said Saturday, a major gain for the group which has been making inroads amid the chaos of the country’s civil war.

The move, part of a weekslong expansion in Aden in the wake of major fighting there between Shiite rebels known as Houthis and pro-government forces backed by Saudi Arabia, shows how the organization still holds formidable clout despite its relatively low-profile role in the country’s raging civil war.

Fighters took Tawahi district, home to a presidential palace and Aden’s main port, and were patrolling the streets, some carrying black banners, the officials said. The militants also took parts of Crater, Aden’s commercial center, and parts of Dar Saad town, just north of Aden, including an army base that their fighters turned into a training camp, they added.

Security officials near the seized base, in Dar Saad’s al-Lohoum district, said it is now training some 200 militants. The officials, who hail from the military, security forces and police, all spoke on condition of anonymity because they weren’t authorized to speak to journalists.

Yemeni government spokesman Rajeh Badi, now based in Saudi Arabia, did not respond immediately to requests for comment.

Yemen’s conflict pits the Iran-allied Houthi rebels and troops loyal to the former president, Ali Abdullah Saleh, against an array of forces including southern separatists, local and tribal militias, Sunni Islamic militants as well as troops loyal to President Abed Rabbo Mansour Hadi. The conflict gained international attention when the Houthis took over the capital, Sanaa, last September, and escalated in March as a Saudi-led coalition started launching airstrikes against Houthi positions.

Backed by heavy airstrikes, the coalition forces pushed the Houthis out of Aden last month, and have been pursuing them further to the north. They had been making rapid advances in armored columns until earlier this week, when rebels ambushed them in a major battle near the entrance to Bayda province.

Al-Qaida appears to have taken advantage of a security vacuum in Aden to ramp up its presence. It also has forces in Breiqa city, west of Aden, and nearby al-Khadra city, the officials added.

Omar al-Sobeihy, a resident of Dar Saad, said that while al-Qaida fighters are moving freely in the area, “we haven’t felt any harassment from them so far.”

In the Tawahi district, resident Taha Faris described a similar situation.

“They are spread out in Tahawi and we can say they have the area under their control. So far they aren’t harassing people, trying instead to gain support, though I fully realize they are waiting for the right moment to attack and control all of Aden,” Faris said.

Washington considers al-Qaida’s Yemen branch to be the most dangerous offshoot of the terror network.

In Tawahi, al-Qaida destroyed the main state security building on Saturday with a powerful bomb that was heard around the city, security officials said. The group has been trying to attack the site for several years, they added. Meanwhile, an official with port security said one of their boats was set ablaze by suspected al-Qaida militants.

Al-Qaida, which had only a minor role the war against the Houthis, also has been on a major recruitment drive, adding hundreds of young men to its ranks and stockpiling weapons, several officials said.

Washington, meanwhile, has kept up its drone attacks targeting the militants, including one in June in the city of Mukalla that killed the group’s top leader. Al-Qaida has been in control of Mukalla, the capital of the Hadramawt province which borders Saudi Arabia, since April.

Al-Qaida and Islamic State members were also present in al-Houta, capital of Lahj province, according to witnesses and security officials.

A group of activists in Aden warned Hadi in an Aug. 11 letter that the town of al-Sheikh Othman in Aden province had become a center for arms dealers, voicing their frustration over the security vacuum. The well-known activists, who campaign for more autonomy for the south, said al-Qaida and other sleeper cells were buying and storing weapons from that market.

A high-ranking military official said the authorities in Aden wrongfully gave weapons to al-Qaida when they randomly distributed them to pro-government forces in Aden in March and April while pursuing the Houthis. Al-Qaida captured other weapons in clashes, according to the official.

Yemeni transport Minister Badr Bassalma told The Associated Press that Aden’s ports were secure and operational, without elaborating. He spoke from Saudi Arabia, where Hadi fled to in March as the Houthis seized Aden. Some Yemeni officials are currently in Aden but the government remains in Saudi Arabia.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.