Hundreds of Libyan protesters forced members of the main Salafist militia out of their base in the second city of Benghazi Friday, setting fire to and wrecking the military compound.

The assault came as an estimated 30,000 people rallied against the influence of the militias in the city, drowning out a protest by radical Salafists angry over a film and cartoons deemed offensive to Islam.

“No to armed formations” and “Yes to the Libya army” read banners raised by protesters gathered at the city’s Tibesti Hotel before marching to Al-Kish Square, close to the barracks of several militia brigades.

“Our law is God’s law, not the law of the jungle,” women chanted.

Banners also paid tribute to U.S. ambassador Chris Stevens, who was killed along with three Americans on September 11 in what the White House now calls a terrorist attack on the U.S. mission in Benghazi.

“Libya lost a friend” and “We want justice for Stevens,” signs read.

Organizers had called the march to demand that the central government in Tripoli tame the armed groups that have retained huge power since last year’s Western-backed uprising that overthrew Muammar Qaddafi.

They demanded the withdrawal of powers conferred on the militias and urged the national congress to pass legislation criminalizing them and codifying the law on bearing arms.

The organizers also called for the withdrawal of all armed groups from state buildings and institutions and full support for measures to revitalize the police and army.

A rival protest in the same square by jihadist group Ansar al-Sharia drew hundreds of people waving black and white flags inscribed with the Muslim declaration of faith.

“There is no God but God,” they chanted, as well as “Obama is the enemy of God,” referring to US President Barack Obama.

The militia, which rejects democracy and refuses to join security forces which they see as tainted by the presence of Qaddafi loyalists, raged against a film made in America mocking Islam and French cartoons depicting the Prophet Mohammed.

“If defending our prophet is terrorism then we are terrorists” read signs in their protest.