Al-Qaeda gunmen have withdrawn completely from the central Yemen town of Rada, which they overran nine days ago, tribal sources and witnesses said on Wednesday.
"They have left the town," located 130 kilometres (85 miles) southeast of Sanaa, one tribal source said hours after a senior military official said there had been mediation to convince them to withdraw.
"Tribal mediation carried out by Sheikh Hashed Fadhl al-Qawsi succeeded, after three days of talks, to convince the armed Al-Qaeda men to leave Rada," a senior official had told AFP late on Tuesday.
As news of the extremists' withdrawal spread, Rada residents took to the streets in celebration, firing gunshots in the air.
"Our town is celebrating this event as war and chaos have been avoided," said one resident, Faisal al-Riashi, reached by telephone.
The military official had said that Al-Qaeda members began evacuating public buildings they had occupied after taking the town on January 16.
"They are leaving the location without resistance," he added.
A local dignitary, Ahmed Kalaz, confirmed the exit of Islamist fighters he described as close to Tarek al-Dahab, the brother-in-law of the Yemeni-American militant, Anwar al-Awlaqi, killed in a US air strike last September.
"They've retreated to Al-Manasa," Dahab's native village some 30 km (19 miles) southeast of Rada, Kalaz said.
Al-Qaeda militants had swept into Rada and overran it within hours, marking a significant advance by the extremists towards the capital.
The takeover of Rada had been the latest in a series of towns and cities -- until now deeper in the south and east -- to fall as Al-Qaeda sweeps through parts of the country, taking advantage of a central government weakened by months of protests.
Sources in the town had said hundreds of Al-Qaeda gunmen invaded Rada, which is within striking distance of a strategic highway connecting Sanaa with the south and southwest.
Al-Qaeda-linked militants already control a string of towns in Abyan, Shabwa and Marib provinces, but Rada was the closest they had come to the capital.
The strong jihadist presence in Yemen made President Ali Abdullah Saleh a key ally in Washington's "war on terror" before the Arab spring uprisings sparked a wave of protests against his regime that he countered with deadly violence.