This is the case not just because the military and the Islamists share the same power base, but also because the Taliban are a useful tool in Pakistan's rivalry with India. Pakistanis view India as a much greater threat to their national survival than the Taliban or even al-Qaida. They continue to support certain elements of the Taliban—they wantthese elements to thrive in Afghanistan—in order to maintain a policy of "strategic depth" against what they see as their larger enemy. Should India invade (and there have been a few wars between the two countries since the 1947 partition), a friendly Afghanistan would be a strategic reserve. In the meantime, a strong Taliban helps counter India's efforts to create a presence in Afghanistan—in other words, helps to pre-empt India's encirclement of Pakistan.

