Afghan President Ashraf Ghani on Tuesday offered an olive branch to the Taliban, shortly after winning a second term in office.

An evidently confident Ghani embraced his supporters at the highly guarded Arg palace in the capital Kabul after the long awaited results of last September's election were announced.

"The government's arms are open to Taliban and other groups. We want peace and sustainable peace. And, God willing this team would bring peace to Afghanistan," said the 70-year-old former World Bank economist.

Earlier on Tuesday, announcing the results, Hava Alam Nuristani, the female chief election commissioner, said Ghani has secured the required minimum of 50 per-cent-plus votes to secure the top office.

Ghani won with a 50.64% lead, leaving no room for an election rerun.

His main rival, Chief Executive Abdullah Abdullah came second with 39.5% of votes and veteran Mujahideen leader Gulbuddin Hekmatyar gained 3.8% of the total vote cast. Both rejected the initial results.

Abdullah on Tuesday called the results “illegal, a coup against democracy, and national treason''. He announced to form a parallel government dubbed as 'inclusive government' by declaring his Peace and Stability team as the winner.

Similarly troubled presidential polls in 2014 delivered a weak and divided national unity government under Ghani and Abdullah, when the country was pushed to the edge of disorder amid withdrawal of some 100,000 foreign troops.