Pakistani and Afghan political and tribal leaders have agreed to establish contacts with the Taliban to end the insurgencies in both countries.

Tuesday's declaration came at the end of a two-day meeting or "jirga" that was endorsed by the Pakistan and Afghan governments.

Former Afghan Foreign Minister Abdullah Abdullah says committees would soon be formed to establish "contacts" with those insurgent groups willing to accept the supremacy of the constitutions in Pakistan and Afghanistan.