ANKARA/TRIPOLI - Turkey will send troops to Libya at the request of Tripoli as soon as next month, President Tayyip Erdogan said on Thursday, putting the North African country's conflict at the center of wider regional frictions.

Libya's internationally recognized Government of National Accord (GNA) in Tripoli has been struggling to fend off General Khalifa Haftar's forces, which have been supported by Russia, Egypt, the United Arab Emirates (UAE) and Jordan.

An official in Tripoli confirmed a formal request had been made for Turkish military support in the air, on the ground and at sea.

The official, who asked not to be named, spoke after the GNA's interior minister, Fathi Bashagha, suggested in comments to reporters in Tunis that no such request had yet been made.

Haftar's forces, which are based in eastern Libya, could not be reached for comment.

Haftar's fighters have failed to reach the center of Tripoli but have made small gains in recent weeks in some southern suburbs of the capital with the help of Russian and Sudanese fighters, as well as drones shipped by the UAE, diplomats say.

A military vehicle carrying an unmanned aerial vehicle travels past Tiananmen Square during the military parade marking the 70th founding anniversary of People's Republic of China in Beijing, Oct. 1, 2019.

The Chinese-made drones have given Haftar "local air superiority" as they can carry over eight times the weight of explosives than the drones given to the GNA by Turkey and can also cover the whole of Libya, a U.N. report said in November.

Last month, Ankara signed two separate accords with the GNA, led by Fayez al-Serraj, one on security and military cooperation and another on maritime boundaries in the eastern Mediterranean. The maritime deal ends Turkey's isolation in the East Mediterranean as it ramps up offshore energy exploration that has alarmed Greece and some other neighbors. The military deal would preserve its lone ally in the region, Tripoli.

"Since there is an invitation (from Libya) right now, we will accept it," Erdogan told members of his AK Party in a speech. "We will put the bill on sending troops to Libya on the agenda as soon as parliament opens."

The legislation would pass around Jan. 8-9, he said, opening the door to deployment.

Tension with Russia

For weeks Ankara has flagged the possibility of a military mission in Libya, which would further stretch its armed forces less than three months after it launched an incursion into northeastern Syria against a Kurdish militia.

Turkey has already sent military supplies to the GNA despite a United Nations arms embargo, according to a U.N. report seen by Reuters last month. Erdogan visited Tunisia on Wednesday to discuss cooperation for a possible ceasefire in neighboring Libya and said on Thursday that Turkey and Tunisia had agreed to support the GNA.

Tunisia's presidency said on Thursday the country would never join any alliance or coalition and it would maintain sovereignty over all its territory, in an apparent response to Erdogan's comments.

Russian President Vladimir Putin gestures during his annual end-of-year news conference in Moscow, Russia December 19, 2019. REUTERS/Evgenia Novozhenina

Moscow has voiced concerns over any Turkish deployment in support of the GNA. Russian President Vladimir Putin spoke to Italian Prime Minister Giuseppe Conte on Thursday and they agreed the crisis must be resolved peacefully, the Kremlin said.

Erdogan, however, has said Turkey will not stay silent over mercenaries from the Kremlin-linked Wagner group supporting Haftar.

"Russia is there with 2,000 Wagner (fighters)," Erdogan said on Thursday, also referring to some 5,000 fighters from Sudan in Libya. "Is the official government inviting them? No."

"They are all helping a war baron (Haftar), whereas we are accepting an invitation from the legitimate government of the country. That is our difference," he said.

FILE - Libyan militia commander General Khalifa Haftar, top center, listens to Russian Foreign Minister Sergey Lavrov, bottom center, during their meeting in Moscow, Russia, Aug. 14, 2017.

Haftar's Libyan National Army has been trying since April to take Tripoli from the GNA, which was set up in 2016 following a U.N.-brokered deal. The UAE, Egypt and Jordan have for years provided military support for Haftar's forces, U.N. reports have said. None of the countries has confirmed this.

Russian mercenaries have put more pressure on the GNA and "accelerated this quid pro quo between Tripoli and Ankara," said Sinan Ulgen, a former Turkish diplomat and chairman of the think-tank Center for Economics and Foreign Policy Studies.

"So the troop deployment must happen right away, but the risk is that Turkey is being sucked into a military game where the only path is more engagement and escalation," he said. Turkish and Russian officials held talks in Moscow this week to seek a compromise on the issues of both Libya and Syria, where Russia backs President Bashar al-Assad.

In the Mediterranean, Turkey is at loggerheads with Greece, Cyprus, Egypt and Israel over rights to resources off the coast of the divided island of Cyprus. Athens says Ankara's maritime deal with Tripoli violates international law.