Warring Libyan factions have tentatively agreed on an Egypt-brokered roadmap to heal divisions with the creation of a joint committee to negotiate reconciliation and elections by February 2018.

The deal comes after months of diplomatic efforts by Egypt, culminating this week with visits by Fayez Seraj, prime minister of the U.N.-backed government in Tripoli, and Khalifa Haftar, a military commander supported by eastern factions.

The two men met separately with senior Egyptian military officials and had been set to sit together in a session late yesterday, then failed to meet due to last-minute differences.

However, three Egyptian sources involved in the talks told Reuters that Seraj and Haftar had agreed to honour the deal despite lingering tensions.

"The two sides have agreed. I have doubts about the implementation as the atmosphere between them is ... tense but we hope the opposite happens," said one of the sources.

Concerned about the spread of Islamic State militants from its western neighbour, Egypt has made stabilising Libya a priority and has hosted a flurry of meetings in recent months bringing together Libyan politicians from east and west.

The Tripoli-based Government of National Accord's (GNA) leadership, the Presidential Council, is made up of nine members who are meant to represent different geographical regions and political groupings within Libya.

But the UN-backed Council has been bitterly divided, with two of its number mostly boycotting proceedings, and different members regularly issuing contradictory statements.

Haftar is a figurehead for factions in eastern Libya but harbours national ambitions and once fought beside long-time leader Muammar Gaddafi. He has shunned the GNA but enjoys close ties with Egypt, which supports his tough approach to Islamic State and other militant groups.

Egypt has refrained from endorsing the GNA, with officials saying it is up to the Libyans to decide on their government.

LACK OF TRUST

According to a statement released by the Egyptian Armed Forces overnight, Seraj, Haftar and Agila Saleh, speaker of the eastern parliament allied to the commander, agreed to establish a committee tasked with forming a power-sharing arrangement.

The joint committee will include at least 15 members of the Tripoli-based State Council, a consultative body aligned with the GNA, and at least 15 members of the eastern parliament.

The roadmap envisages that any power-sharing deal be reflected in an revised constitution followed by presidential and parliamentary elections no later than February 2018.

Under the plan, Seraj, Haftar and Saleh will keep their posts until the elections.

Egypt will broker the talks, but it was unclear how successful they could be given the depth of mistrust.

Tarek al-Jaroushi, a member of Libya's eastern parliament who was in Cairo, confirmed the deal, but his comments suggested confidence was low.

"Seraj must return to the legitimacy of (the eastern) parliament if he really is looking for a Government of National Accord that secures the rights of all Libyans," he told Reuters.

Libya began to descend into factional chaos after the 2011 uprising that, with NATO backing, ultimately toppled Gaddafi.

Since its arrival in Tripoli early last year, the GNA has struggled to assert its authority among rival armed factions reluctant to cede power. Haftar's forces have extended their control to the west and have threatened to march on Tripoli.

The GNA also faces challenges from a third self-declared government led by Khalifa Ghwell and supported by Misratan militias.

Those militias are among Libya's most powerful but are widely seen as sympathetic to the Muslim Brotherhood, which is banned in Egypt.

With Egypt reluctant to engage with Islamists of any stripe, it was unclear whether success in reconciling Haftar and Sarraj would be enough to bring peace to Libya.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.