Abdullah Abdullah (left) and Ashraf Ghani shake hands after exchanging agreements for the country’s unity government in Kabul on Sunday. The rivals signed a deal to share power in the unity government, capping months of turmoil over a disputed election that destabilised the nation at a crucial time as foreign troops prepare to leave.

AFP/Kabul

Former finance minister Ashraf Ghani was declared Afghanistan's next president on Sunday, hours after signing a power-sharing deal with his rival Abdullah Abdullah that ended a prolonged standoff over the disputed result.

Allegations of massive fraud in the June 14 vote sparked political crisis as both candidates claimed victory, paralysing the country at a key moment with US-led troops winding down their 13-year war against the Taliban.

When the long-awaited "unity government" deal was finally signed, Ghani embraced Abdullah briefly at a low-key ceremony in the presidential palace that lasted less than 10 minutes.

Abdullah will now nominate his choice for the new post of "chief executive officer" (CEO), which will be similar to prime minister - setting up a tricky balance of power as Afghanistan enters a new era.

Neither candidate spoke at the palace ceremony, causing uncertainty on when they would address the nation or when the unity agreement would be officially published.

"The Independent Election Commission declares Dr Ashraf Ghani as the president, and thus announces the end of election process," commission chief Ahmad Yousaf Nuristani later told reporters.

"During the election process fraud was committed from all sides... that has concerned people."

Nuristani gave no winning margin, turnout figure, or the number of fraudulent ballot papers thrown out in an intensive UN-supervised audit that checked every individual vote.

Ghani was widely acknowledged to be on the brink of the presidency after coming well ahead in preliminary results before the audit began.

Under the constitution the president wields almost total control, and the new government structure will face a major test as the security and economic outlook worsens.

"I'm happy that our brothers Dr Ashraf Ghani and Dr Abdullah struck an Afghani deal for the sake of goodness and prosperity of the country," outgoing President Hamid Karzai said in a short speech after the palace signing.

"I hope with their efforts this country gets long-lasting peace."

The vote count has been plagued by setbacks amid allegations of massive fraud, emboldening the Taliban insurgents and further weakening the aid-dependent economy.

As tensions rose in Kabul, the UN and US pushed hard for a "national unity government" to avoid a return to the ethnic divisions of the 1990s civil war, which ended with the Taliban taking power in 1996.

The ruling coalition between opposing camps is likely to be uneasy.

Abdullah, a former anti-Taliban resistance fighter and foreign minister, draws his support from Tajiks and other northern ethnic groups. Ghani, an ex-World Bank economist, is backed by Pashtun tribes of the south and east.

"There will be two powers in the government, and it will be very difficult for them to work together," Sediq Mansoor Ansari, an analyst and director of the Civil Societies Federation, said.

"I think the people of Afghanistan will wonder about their votes, and how their votes have been played with."

The future of Afghanistan's relationship with the US-led NATO alliance will also be high on the agenda after Karzai refused to sign a security pact with Washington to ensure a foreign military presence after this year.

The White House welcomed Sunday's power-sharing deal, which it said "helps bring closure to Afghanistan's political crisis".

Abdullah may take up the CEO role, but is thought likely instead to nominate an ally.

Dividing up other official posts could also create friction after the long and mercurial reign of Karzai, who built up a nationwide network of patronage.

The UN's country director Jan Kubis welcomed the breakthrough, but warned that "for the sake of the country, it is time to quickly implement the agreement".

Related Story