UN Secretary-General Antonio Guterres discussed the situation in Libya via telephone Wednesday with Libyan Prime Minister Fayez al-Sarraj.
"The Prime Minister indicated his commitment to a dialogue within the 5+5 Libyan Joint Military Commission [JMC] and expressed his interest in a political solution based on elections," said a statement by Guterres's office which referred to a format with five representatives from the internationally recognized Government of National Accord (GNA) and five from renegade commander Khalifa Haftar's forces.
The JMC is one of three tracks the UN Support Mission in Libya (UNSMIL) is working on in addition to economic and political tracks in compliance with UN Security Council Resolution 2510 (2020) and urges the two parties to reach a lasting cease-fire agreement.
The two men also discussed the need to reopen blocked oil terminals and oil fields.
Guterres expressed shock at the recent discovery of mass graves in the country, saying the UN "was ready to assist in efforts to ensure accountability."
The UN chief also reiterated support for Libya's efforts to address the COVID-19 pandemic.
Libya has been torn by civil war since the ouster of late ruler Muammar Gaddafi in 2011.
The government was founded in 2015 under a UN-led agreement, but efforts for a long-term political settlement failed due to a military offensive by Haftar's forces.
The GNA has been under attack by Haftar's militias since April 2019, with more than 1,000 killed in the violence.