United Nations: UN Secretary-General Ban Ki-moon has announced the appointment of Spanish diplomat Bernardino Leon as special envoy for Libya. Leon will lead the UN mission in the troubled country.

Leon, who served as the European Union’s special envoy for Libya, replaces Tareq Mitri of Lebanon who was head of the UN support mission for Libya (UNSMIL) since 2012.

“Mr Leon brings to this position many years of political and diplomatic experience with his national government and with the European Union,” said Ban’s spokesman.

The 49-year-old diplomat also served as foreign policy adviser to Spain’s former prime minister Jose Luis Zapatero.

Libya has been torn by fighting between militias since mid-July, prompting members of parliament to appeal this week for foreign intervention to avert a further slide toward chaos.

Since the fall of long-time dictator Muammar Gaddafi in 2011, the interim authorities have failed to establish order and security in a country prone to anarchy and deadly violence.

UNSMIL is a political mission set up in 2011 at Libya’s request to help the country in its post-Gaddafi transition.