Cairo: Egypt’s chief-of-staff has mediated between two Libyan rivals who refused to meet face to face in Cairo but later agreed to form a committee to renegotiate a UN peace deal.

Col. Tamer Al Rifai, an Egyptian army spokesman, says the two — the head of Libya’s UN-backed government, Fayaz Sarraj, and Khalifa Hafter, the country’s most powerful army commander — met separately with Egypt’s chief-of-staff, Lt. Gen. Mahmoud Hegazy late on Tuesday.

He says they agreed to form a joint committee that would make key changes to the 2015 UN-brokered peace deal.

Once the parliament, based in eastern Libya, endorses the changes, it would pave the way for parliamentary and presidential elections next year.

Libya’s east-based parliament does not recognise the UN-backed government set up in the country’s capital, Tripoli.