Al-Qaeda leader Ayman al-Zawahiri is opposed to the 2014 declaration by the Islamic State group (IS) to create a "caliphate" straddling Iraq and Syria
The Taliban's new leader on Friday welcomed Al-Qaeda chief Ayman al-Zawahiri's pledge of allegiance which could bolster his accession amid a bitter power struggle within the Afghan militant movement.
Mullah Akhtar Mansour takes charge as the Islamic State group makes gradual inroads into Afghanistan, challenging the Taliban on their home turf.
Zawahiri's declaration on Thursday came with Al-Qaeda also facing a growing rivalry for global jihadist preeminence with IS, which has seized control of large parts of Syria and Iraq.
"I... accept the pledge of allegiance of the esteemed (Zawahiri)... and thank him for... his pledge and pledge of all mujahideen under him," Mansour said in a statement Friday.
Mansour was announced as the new Taliban chief on July 31, after the movement confirmed the death of Mullah Omar, who led the Islamist group for some two decades.
But splits immediately emerged in the Taliban following the appointment, with some top leaders including Omar's son and brother, refusing to pledge allegiance to Mansour.
The Taliban have suffered a string of recent defections to IS, which has been trying to establish itself in the eastern regions of the country.
The recent confirmation of Mullah Omar's death and the growing internal divisions within the Taliban could spur an increase in such defections, analysts say.
The Taliban have repeatedly warned IS against expanding its operations in Afghanistan.
And in a sign of growing rivalry between the groups, the Taliban on Wednesday condemned a "horrific" video that appears to show IS fighters blowing up bound and blindfolded Afghan prisoners with explosives.
The video described the prisoners as "apostates" aligned with the Taliban or the Afghan government.
But the Taliban said they were "innocent civilians".