The UN’s special envoy for Libya has resigned saying his efforts to bring peace in the North African country had led to stress.
Ghassan Salame said on Twitter he could not “take this much stress”.
Talks between the UN-backed government based in the capital, Tripoli, and fighters loyal to renegade Gen Khalifa Haftar have floundered.
Libya has been torn by conflict since the 2011 uprising which ousted long-time strongman Muammar Gaddafi.
Last week Mr Salame brought representatives of the Government of National Accord (GNA) and the Haftar-led Libyan National Army (LNA), the two warring sides, to Geneva for peace talks, but the representatives suspended their involvement.
Mr Salame tweeted on Monday that he had “sought for two and a half years to unite Libyans, prevent foreign intervention, and preserve the unity of the country”.
“I can no longer continue with this level of stress and therefore I have asked the [UN] secretary general to relieve me of my duties,” he added.
The UN mission in Libya and the UN office in Geneva were not immediately available for comment, news agency Reuters reports.
The conflict in the oil-rich nation has been complicated by the involvement of foreign states.
Turkey passed a controversial law in January to deploy troops to help GNA forces, in Tripoli. Qatar also backs the GNA, which is led by Prime Minister Fayez al-Sarraj,
The capital has been under an 11-month-long siege by forces loyal to renegade Gen Haftar. According to the UN, the campaign has killed hundreds of people and displaced thousands more from their homes.
- Why is Libya so lawless?
- Libya: What you need to know
The LNA, which controls much of eastern Libya, is backed by Egypt, Russia, Saudi Arabia and the United Arab Emirates (UAE).
UN chief António Guterres, in an interview with the BBC last month, termed the conflict a “proxy war”, adding that it was “unacceptable”.
Last month, EU foreign ministers agreed to a new naval and air mission to prevent further weapons reaching Libya.