Some of the releases ended up causing friction with Kabul and Washington, which both claimed that Pakistan was not monitoring the whereabouts and activities of all the former inmates.
Moreover, the Taliban have so far refused to talk directly with Afghan President Hamid Karzai, his government or its representatives. Attempts to open talks between Afghanistan and the Taliban in June ended in failure after Karzai accused the militants of setting up a government in exile and demanded they remove their flag and a sign identifying the movement as the Islamic Emirate of Afghanistan. The Taliban refused and closed their office in the Gulf state of Qatar.
Pakistan has a complicated relationship with the Taliban. Pakistan helped the group seize control of Afghanistan in 1996, and Kabul has repeatedly accused Islamabad of providing the insurgents sanctuary on its territory following the U.S.-led invasion of Afghanistan in 2001.
Many analysts also believe Pakistan has maintained its ties with the Taliban as a way to counter the influence of archenemy India in Afghanistan. But there is also a significant level of distrust of Pakistan among the Taliban, a feeling that has been reinforced by Islamabad's detention of insurgents possibly as bargaining chips.
Islamabad is also fighting its own related insurgent movement, the Pakistani Taliban. One of the reasons analysts believe Pakistan has stepped up efforts to facilitate a peace deal in Afghanistan is the fear that chaos in the country after foreign forces withdraw could provide Pakistani Taliban militants with sanctuary.