According to the Libya Observer newspaper, the violence ceased on Saturday evening after GNU forces had seized control over the last foothold of Bashagha's loyalists and captured some of their leaders in Tripoli's Old city area.
The news outlet also noted that the situation calmed down after the GNU's special deterrence forces had ambushed the forces of militia commander Haitham Tajouri, who supported Bashagha.
Meanwhile, the forces of another Bashagha supporter, Major General Osama Juweili, are said to have left southern Tripoli.
According to the Al-Arabiya broadcaster, fighting erupted on Friday in Tripoli between detachments loyal to Dbeibeh, and a rival administration under Bashagha, who was elected by parliament. Intense gunfire began in the morning in the city center.
Earlier this week, Bashagha, who is elected by the parliament, called on the head of Dbeibeh to resign. The latter, in turn, advised Bashagha to focus on the upcoming presidential election.