For more than a decade, Pakistan and the US were close allies. Pakistan let the US use its air bases to launch drone attacks on Taliban fighters in Afghanistan and northwestern Pakistan; allowed its territory to be used as a supply route for NATO forces in landlocked Afghanistan; and, less enthusiastically than the US wished, launched military operations against Taliban sanctuaries on the Pakistani side of the porous border with Afghanistan.