Updated

Libya's Prime Minister Ali Zidan has sacked the defense minister, after three days of gun battles in the capital and amid a deteriorating security situation.

In a news conference Thursday, Zidan said he sacked Mohammed al-Barghathi after different militias working for the defense and interior ministries fought in Tripoli.

Security officials said at least 10 were killed and dozens injured in the clashes. On Wednesday, three car bombs exploded, killing two and injuring 16 in the southern city of Sabha, officials said.

They spoke on condition of anonymity because they were not authorized to speak to the press.

Zidan described the clashes as a "suicidal scene" and said militias will be forced out of Tripoli.

Nearly two years after Moammar Gadhafi's ouster, successive governments depend on militias to maintain security.