At least 27 people have been killed and 100 wounded in several days of fighting between rival militias near the Libyan capital, the health ministry said on Thursday.
The clashes broke out on Monday in suburbs south of Tripoli and continued into Wednesday evening after a truce collapsed, despite an appeal by the United Nations for calm.
The clashes came to an end on Thursday after a ceasefire agreement announced by officials from western areas, but it was unclear whether the two rival camps would continue to respect it.
Fayez al-Sarraj, the leader of the internationally recognised Government of National Accord (GNA), has tasked forces from western and central regions of Libya with ensuring the rivals adhere to the ceasefire.
The Libyan capital has been at the centre of a battle for influence between armed groups since dictator Muammar Gaddafi was toppled in 2011.
* Sign up to News24's top Africa news in your inbox: SUBSCRIBE TO THE HELLO AFRICA NEWSLETTER