Libya's eastern-based parliament on Saturday rejected an agreement that would allow Ankara to send troops to Libya.

The Libyan House of Representatives (HoR) in Tobruk voted against a deployment requested by the UN-backed Government of National Accord (GNA).

The Western-based GNA had asked for military help from Turkey, and the parliament in Ankara on Thursday voted in favor of the deployment of troops.

More than a rejection

As well as voting against the deployment and cooperation with Turkey, the HoR also voted unanimously to refer GNA Prime Minister Fayez Serraj to be prosecuted for "high treason" because of the deals signed with Ankara under his watch.

The Libyan deputies also voted to cut relations with Turkey.

Serraj's beleaguered government, which is based in Tripoli, has been under sustained attack by General Khalifa Haftar and his self-styled Libyan National Army (LNA).

Haftar — who with his eastern power base is supported by the HoR — has already seized the country's main oil fields and export terminals.

Why does the UN recognize rival bodies?

The GNA is part of a UN-backed deal to bridge political differences between the rival administrations in the east and west.

Read more: Khalifa Haftar: Libya's military strongman

However, the eastern HoR has never endorsed the politically powerless GNA, as had been envisioned.

A patriotic call to arms

After Turkey voted in favor of the deployment, Haftar on Friday urged all Libyans to take up arms against the foreign intervention.

Haftar said it was no longer a question of liberating Tripoli from the militias that overran it, but of "facing a colonizer." He accused Ankara of wanting to "regain control of Libya", a former province of the Ottoman Empire to which Turkey is the successor state.

Neighboring Egypt has also strongly condemned the Turkish vote, saying it amounted to a "flagrant violation of international law and Security Council resolutions on Libya."

Libya has been beset by chaos since dictator Moammer Gadhafi was toppled and killed in a NATO-backed uprising in 2011.

rc/aw (AFP, dpa)

Each evening at 1830 UTC, DW's editors send out a selection of the day's hard news and quality feature journalism. You can sign up to receive it directly here.