The struggle inside the Taliban began in July 2015, when reports confirmed the death of the hardline Islamist insurgency's founder Mullah Mohammad Omar.
Tensions persisted as some Taliban field commanders refused to recognize the new leader, Mullah Akhtar Mansour, who succumbed to his injuries in December 2015, according to unconfirmed reports.
The Friday deal was reportedly clinched by representatives of a splinter group headed by Mullah Mohammad Rasool Akhund, calling itself the ulema, and the exiled insurgency leadership headed by Mansour.
The Taliban is waging an armed struggle with the Afghan authorities to regain control of the country while also fighting militants from Daesh (ISIL/ISIS), which has managed to boost its clout in Afghanistan over the past few months. This jihadist group is banned in Russia and some other countries.
In December, UN officials said that the Taliban can only obtain official recognition if it becomes part of an internationally recognized process of peaceful settlement.