The Turkish President Recep Tayyip Erdogan has described leaving Libya at the mercy of whom he called "warlord Khalifa Haftar" as a historic mistake.

Erdogan told Politico on Saturday that Haftar's forces were leading a coup supported by anti-democracy countries like Egypt, Saudi Arabia, UAE and also Francel, which is backing up "the putschist Haftar against the legitimate government".

He added that the road to peace in Libya passes through Turkey, which he said is ready to send troops to support Libyan security forces in the fight against terrorism and human trafficking.

"If the legitimate government in Libya is overthrown, Europe will be confronted with new problems and threats. The European Union should show the world it is a vital actor in Libya and should have a more significant role in Libya." Erdogan added, hailing Germany for supporting the internationally recognized Presidential Council's government in Libya and for hosting a peace conference in Berlin.