TRIPOLI, Libya — Thousands of protesters have gathered in Libya's capital to call on unlawful armed groups to leave the city, a week after militiamen killed 43 people.

The head of Tripoli's local council, Al-Sadat al-Badri, told the crowd on Friday that the city will remain on strike until the capital and its surroundings are free of militias.

Several militias hailing from other Libyan cities already left the capital Thursday, following a popular uproar sparked by the death of 43 protesters last week. They were killed by militiamen during a march demanding the militias leave.

Since the fall of longtime dictator Moammar Gadhafi in 2011, hundreds of militias have sprung up across Libya. The government has failed to control the groups or incorporate them into the fledgling police force and army.