An Islamist militia was driven out of the city of Benghazi early yesterday in a surge of protest against the armed groups that control large parts of Libya more than a year after the overthrow of Muammar Gaddafi.

Demonstrators pulled down militia flags and set a vehicle on fire

A spokesman for Ansar al-Sharia said the group had evacuated its bases in Benghazi “to preserve security in the city”.

In a dramatic sign of Libya’s fragility, after sweeping through the base, the crowd went on to attack a pro-government militia, believing them to be Islamists, triggering an armed response in which at least11 people were killed and more than60 wounded.

Ansar al-Sharia has been linked to the recent attack on the US consulate in Benghazi in which the US Ambassador to Libya and three other Americans died, although the group denied involvement.

The invasion of its compound, which met little resistance, appeared to be part of a coordinated sweep of militia bases by police, government troops and activists following a mass public demonstration against militia units in Benghazi on Friday.

Demonstrators pulled down militia flags and set a vehicle on fire inside what was once the base of Gaddafi’s security forces who tried to put down the first protests that sparked last year’s uprising.

Hundreds of men waving swords and even a meat cleaver chanting “Libya, Libya”, “No more al-Qaeda!” and “The blood we shed for freedom shall not go in vain!”

“After what happened at the American consulate, the people of Benghazi had enough of the extremists,” demonstrator Hassan Ahmed said. “They did not give allegiance to the army. So the people broke in and they fled.

“This place is like the Bastille. This is where Gaddafi controlled Libya from, and then Ansar al-Sharia took it over. This is a turning point for the people of Benghazi.”

Adusalam al-Tarhouni, a government worker who arrived with the first wave of protesters, said several pickup trucks with Ansar fighters had initially confronted the protesters and opened fire. Two protesters were shot in the leg, he said.

“After that, they got into their trucks and drove away,” he said. Protesters had freed four prisoners found inside, he said.

Libya’s Government had promised Washington it would find the perpetrators of what appeared to be a well-planned attack on the US consulate, which coincided with protests against an anti-Islam video and the anniversary of the 9/11 attacks.

The consulate attack and the outrage directed at the US over the video across the Muslim world have raised questions about President Barack Obama’s handling of the so-called Arab Spring.

The latest events in the cradle ofLibya’s revolution appeared at least in part to vindicate his faith in Libya’snascent democracy.

“The killing of the ambassador, and a preceding set of serious security incidents, are a wake-up call to the new Government to actually start to improve security,” said Oliver Miles, former British Ambassador to Libya.

“And now they’ve got backing from the street in Benghazi to do just that.”

But the lack of central control remains a recipe for chaos.

Continuing to chant anti-Ansar slogans, the crowd, swelling into the thousands, moved on to try to storm a separate compound where the powerful pro-Government Rafallah al-Sahati militia was entrusted with guarding a big weapons store, and opened fire on the assailants.

Looters carried weapons out of the compound as men chanted: “Say to Ansar al-Sharia: ‘Benghazi will be your inferno!’”

Officials at three hospitals told a Reuters correspondent they had a total of five dead and more than 60 wounded from the night’s violence.

A trail of blood near two abandonedcars led police to six more dead bodiesnear the Rafallah al-Sahati compoundyesterday morning, police officer Ahmed Ali Agouri said.

“We came as peaceful protesters. When we got there, they started shooting at us,” student Sanad al-Barani said.

“Five people were wounded beside me. They used 14.5mm machineguns.”

The withdrawal of Ansar al-Sharia across Benghazi and the huge outpouring of public support for the government suggests an extraordinary transformation in a country where the authorities had seemed largely powerless to curb the influence of militia groups armed with heavy weapons.

Nevertheless, Ansar al-Sharia and other Islamist militias have bases elsewhere in eastern Libya, notably around the coastal city of Derna, known across the region as a major recruitment centre for fighters who joined the wars in Iraq, Afghanistan and Syria.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.