Commander of the Libyan National Army (LNA) Khalifa Haftar said Wednesday he was suspending his military activities, a step which could lead to his candidacy in elections later this year.
In a statement, Haftar said he had named an interim replacement as head of the LNA until December 24, the date of the legislative and presidential vote.
Libyan media said the step opens the way for Haftar to run as a presidential candidate under a controversial new law.
Parliamentary speaker Aguila Saleh earlier this month ratified legislation governing the presidential ballot and which critics say bypassed due process to favor his ally Haftar.
They cite a clause stipulating that military officials may stand in presidential polls, on condition that they withdraw from their roles three months beforehand -- and that, if unsuccessful, they will receive backpay.
That would allow for a presidential run by Haftar, whose forces control eastern Libya, where the parliament is based, as well as parts of the south.
Haftar had waged a year-long assault on Tripoli before reaching a formal ceasefire with his western opponents in October last year.
Libya has seen months of relative peace since the agreement, with a new unity government taking power early this year charged with leading the country until the December elections.
The lull in violence and a United Nations-led transition process have sparked hopes that Libya could move on after a decade of violence that followed the fall and killing of longtime leader Moammar al-Gaddafi in a 2011 revolt.
But on Tuesday Libya’s parliament passed a no-confidence vote in the unity government, raising questions about plans for the December ballot.
A majority of lawmakers who attended the lower house session -- overseen by Saleh -- in the eastern city of Tobruk voted to withdraw confidence from the Tripoli-based unity administration of interim Prime Minister Abdulhamid Dbeibah, spokesman Abdallah Bliheq said.
An upper house based in the capital rejected the vote, saying it violated established procedures, and laying bare once more the extent of divisions between the country’s east and west.
Germany, which has played a leading role in diplomacy to end Libya’s conflict, called Wednesday for the elections to go ahead.
"The international community expects Libyan officials in Tripoli and the rest of the country to work for presidential and legislative elections to take place as scheduled on December 24," German Foreign Minister Heiko Maas said as he co-chaired a high-level meeting on Libya at the UN.
Maas also called for renewed efforts to remove foreign mercenaries from Libya.
The United Nations estimates there are more than 20,000 mercenaries, including Russians, Syrians, Chadians and Sudanese, as well as foreign troops, most of them Turkish, deployed in Libya.