For at least two years, though, Musharraf tried to have it both ways, cracking down at America’s behest on the Islamists on Pakistan’s western border with Afghanistan while sponsoring them on the eastern border with India. A Pakistani-sponsored jihadi attack on India’s Parliament in December 2001 nearly provoked all-out war.