This article is from the source 'bbc' and was first published or seen on . It last changed over 40 days ago and won't be checked again for changes.

You can find the current article at its original source at http://www.bbc.co.uk/news/world-africa-35121414

The article has changed 3 times. There is an RSS feed of changes available.

Version 0 Version 1
Libya conflict: Rival lawmakers sign deal in Morocco Libya conflict: Rival lawmakers sign deal in Morocco
(35 minutes later)
Libya's rival lawmakers have signed a UN-brokered deal to form a unity government in a nation split by more than four years of conflict.Libya's rival lawmakers have signed a UN-brokered deal to form a unity government in a nation split by more than four years of conflict.
UN envoy Martin Kobler described the deal as historic, saying Libya had "turned a page" in efforts to achieve reconciliation and stability.UN envoy Martin Kobler described the deal as historic, saying Libya had "turned a page" in efforts to achieve reconciliation and stability.
However, the heads of the rival parliaments failed to sign the deal because of major disagreements.However, the heads of the rival parliaments failed to sign the deal because of major disagreements.
Armed groups which control much of Libya were not part of the talks.Armed groups which control much of Libya were not part of the talks.
Libya has been in chaos since the 2011 overthrow of long-serving ruler Muammar Gaddafi by Nato-backed forces.Libya has been in chaos since the 2011 overthrow of long-serving ruler Muammar Gaddafi by Nato-backed forces.
It has two rival governments, one based in the main city, Tripoli, and the other about 1,000km (620 miles) away in the port city of Tobruk.It has two rival governments, one based in the main city, Tripoli, and the other about 1,000km (620 miles) away in the port city of Tobruk.
Amid the turmoil the country has become a major departure point for some of the thousands of migrants travelling to Europe. Analysis: Rana Jawad, BBC North Africa correspondent
The signing draws a line under a 14-month political process that gained more prominence in recent months because of the large influx of refugees and migrants to Europe, and the growing threat of Islamic State militancy in the country.
Diplomats put extra pressure on the Libyan delegates in recent weeks because in order to address those issues they need a single government to work with.
Some observers sounded alarm bells ahead of the signing, cautioning that it could further divide Libya if it did not include all the key players - and not everyone was present at the ceremony in Morocco.
A security plan to protect the new unity government - which at the moment only exists on paper - is crucial, and this does not exist.
This latest step is a huge gamble.
It could yet prove to be a springboard for a wider agreement that eventually unites Libya.
But if it fails, it may lead the country into a darker spiral of violence over legitimacy and control.
'Difficult journey'
Amid the turmoil, the country has become a major departure point for some of the thousands of migrants travelling to Europe from Africa.
There is also international concern that the militant so-called Islamic State (IS) group is taking advantage of the instability to expand inside Libya.There is also international concern that the militant so-called Islamic State (IS) group is taking advantage of the instability to expand inside Libya.
Mr Kobler said the new government would have to tackle the dire humanitarian situation in Libya, and fight IS and other jihadi groups.Mr Kobler said the new government would have to tackle the dire humanitarian situation in Libya, and fight IS and other jihadi groups.
"You must not forget that this is the beginning of a difficult journey. There is a critical need for national reconciliation [in Libya]," he told the rival lawmakers."You must not forget that this is the beginning of a difficult journey. There is a critical need for national reconciliation [in Libya]," he told the rival lawmakers.