The United Arab Emirates says a "significant breakthrough" was reached in talks between two rival Libyan leaders that were held in Abu Dhabi. A Foreign Ministry statement issued early Wednesday marked the first official word on the talks the day before between Field Marshal Khalifa Hifter and Prime Minister Fayez Serraj. On Tuesday, Libya's armed forces posted a Facebook photo of the two men. The ministry's statement offered no specifics. Libya TV said the two men agreed on holding presidential and parliamentary elections next year, but it's unclear how such a vote would be held in the fractured country. Libya sank into chaos following the 2011 uprising that toppled and killed dictator Moammar Gadhafi. The nation now is split between rival governments and warring militias. Libya's eastern military commander met the head of its UN-backed government on Tuesday, ending a 16-month standoff that has undermined diplomatic efforts to unify a country riven by factional fighting since 2011. Having previously spurned invitations to engage with the government, Khalifa Haftar held talks with Fayez Seraj in Abu Dhabi that one source close to Haftar said produced an agreement to hold elections early next year. Regional and Western powers have for months been pushing the two men to discuss resetting a U.N.-mediated agreement that led to the creation of Seraj's Government of National Accord (GNA) in Tripoli. The deal was an attempt to end the turmoil that followed the 2011 uprising against Muammar Gaddafi. Haftar is the dominant figure for factions in eastern Libya that have rejected the GNA, contributing to its failure to expand its power in Tripoli and beyond. Rival armed factions in the west of the country have backed the government. Tuesday's meeting could be a step towards ending a stalemate between competing loose alliances that pushed the country into open warfare in 2014. But any lasting deal would need backing from the numerous and powerful armed groups that have scuppered previous attempts to stabilise the oil-rich country. Sources close to Haftar said he met Seraj one-on-one for two hours of talks they described as positive. One sticking point has been a clause in the UN-mediated deal giving the GNA's leadership immediate control over military appointments, which eastern factions fear will weaken Haftar's Libyan National Army (LNA). Libya's 218 channel, a pro-Haftar TV station, said they had agreed to propose cancelling the clause, and to form a restructured unity government. "It was agreed to open permanent channels of communication and to form two working groups to complete an agreement on the details of the formation of a government and the military arrangements between officers from all regions," one source close to Haftar in Abu Dhabi who asked not to be named told Reuters. There was also an agreement to hold presidential and parliamentary elections no later than March 2018, the source said. It was the first time Seraj and Haftar had met since the start of last year. An expected meeting in Cairo in February fell through, though a roadmap for eastern and western parliamentary delegations to revive a peace process was agreed. Haftar, a former Gaddafi ally, is a divisive figure who opponents suspect of seeking to return the country to authoritarian rule. With backing from foreign powers including Egypt, the UAE and Russia, he has gained ground militarily since last year, taking control of several key oil ports and advancing in a long campaign against Islamist-led rivals in Benghazi, Libya's second city. Haftar has also indicated that he expected to take Tripoli, though many observers doubt he has the capacity to do so. As the LNA and its allies have pushed west in recent months, they have clashed repeatedly with GNA-aligned opponents around the oil ports and in the southern desert regions of Sabha and Jufra. Haftar and his supporters have previously rejected the GNA because they say it is beholden to the militias that hold sway in Tripoli and the rest of western Libya. — Agencies