Libya's parliament has passed a motion authorising Egypt to intervene militarily if needed to safeguard the "national security" of both countries in light of what it termed a Turkish "occupation".
The legislature backs military commander Khalifa Haftar, who fought a year-long and ultimately unsuccessful campaign to seize the western capital Tripoli from a United Nations-recognised unity government.
Haftar is supported by neighbouring Egypt and the United Arab Emirates, while the Government of National Accord (GNA) in Tripoli has the backing of their regional rivals Turkey and Qatar.
In a resolution passed late Monday, the legislature in the eastern city of Tobruk authorised "Egyptian armed forces to intervene to protect the national security of Libya and Egypt if they see an imminent danger to both our countries".
Egypt's President Abdel Fattah El-Sisi warned last month that Egypt could send troops into Libya, after the unity government pushed back Haftar's forces from around Tripoli following months of stalemate.
El-Sisi explained that any intervention in Libya by Egyptian forces "would be led by the Libyan tribes," and stressed that "we only aspire for stability in Libya."
He emphasised that Egypt has no ambitions in Libya, and only wishes to restore security and stability in the country. "We will not be invaders… we only want a stable, safe and developed Libya", he said.
Libya has seen years of violence since the ouster of long-time leader Moamer Kadhafi in a NATO-backed 2011 uprising, with the GNA and the parliament in the east, elected in 2014, vying for power.
Haftar launched an offensive in April 2019 to seize the capital, but the GNA took advantage of Turkish military support including drones to re-impose its control over Libya's northwest.
In its statement late Monday evening, the parliament said Libya and Egypt should work together "to guarantee the occupier's defeat and preserve our shared national security" in the face of "the dangers posed by the Turkish occupation".
*This story was edited by Ahram Online.