From multibillion-dollar military aid to stealthy and secretive drone strikes, Pakistan, perhaps even more than Afghanistan, has been the central focus of America's 12-year war on Islamist militancy.
Now, as President Barack Obama's landmark policy speech on Thursday made clear, all of that is changing. Drone strikes are dwindling, the war in Afghanistan is drawing to a close and the battle against al-Qaida is receding.
Pakistani leaders who have long demanded an American exit from their region may get their wish, but a broader disengagement is also likely to diminish the funding, prestige and political importance Pakistan held as a crucial player in global counterterrorism efforts, and perhaps upset its internal stability.
The diminution of the drone campaign could ease a major point of friction between Pakistan and the West, but the tribal belt in northwestern Pakistan, where about 360 drone strikes have landed in the past decade, remains a hotbed of Islamist militancy, largely outside of government control. Although many senior leaders of al-Qaida sheltering there have been felled by CIA missiles, they have been largely replaced by committed Pakistani jihadists with ties that span the border with Afghanistan.
With U.S. combat troops leaving Afghanistan in 2014, and the drone campaign already winding down in Pakistan, analysts fear that unless the Pakistani army can assert itself conclusively, the tribal region could be plunged into deeper chaos.
"It's going to be a lot of trouble," said Hasan Askari-Rizvi, a Pakistani academic and defense analyst. "If the insurgency increases in Afghanistan, it will spill into Pakistan's tribal areas, where the Taliban will become very confident."
An American pullback poses other risks for the nuclear-armed country. For 12 years, the United States' security-driven policy has shaped power, politics and militancy in Pakistan. After 2001, Gen. Pervez Musharraf, who came to power in a military coup, established himself as a steadfast ally of the West; it underwrote his authoritarian rule, which lasted until 2008. The military received almost $17 billion in U.S. military aid, and transfers of U.S. military hardware, solidifying its position as the dominant arm of the state.
That relationship has also fostered resentment, and some Pakistani leaders welcome an American disengagement.
America's dogged pursuit of fugitives linked to al-Qaida -- first in Pakistan's cities, later in the tribal belt along the Afghan border -- led to a two-faced policy toward Islamist militancy. Pakistani officials secretly accepted, and in some cases encouraged, the U.S. drone program, while condemning it in public as a violation of sovereignty. Similarly, under pressure from Washington, Pakistan helped the CIA arrest some jihadists, while it quietly sheltered other armed militant groups, like the Afghan Taliban and Lashkar-e-Taiba, who were seen as furthering Pakistani interests in Afghanistan and India.
The American presence also created a giant blind spot in Pakistan's political psyche: With so much focus on U.S. operations, Pakistani leaders used the U.S. as a scapegoat to avoid tackling some homegrown problems. Lurid tales of American espionage and other skulduggery abounded in the news media, promoted by politicians and mullahs but also fanned by real-life controversies like the shooting of two Pakistanis by the CIA contractor Raymond Davis in January 2011.
Now that calculus is shifting for Pakistani policymakers. Many fear a replay of the early 1990s when, after the departure of Soviet troops from Afghanistan, the U.S. withdrew abruptly, leaving behind a cadre of fired-up Islamist fighters, and then imposed sanctions on Pakistan for its nuclear weapons program.
Behind the bellicose speech, there is a complex dependency on both sides. While Pakistan's powerful generals have grown to resent the U.S., they also lean on U.S. military aid as a steady source of income in an economy so shaky it may soon require a bailout from the International Monetary Fund. The generals also rely on transfers of U.S. military hardware to keep their fleet of F-16 fighters in the air.
From now on, Pakistani leaders will be less able to rely on the cloak-and-dagger workings of the drone program to have it both ways.
Recently, as concern over drones mounted in the U.S., the number of strikes in Pakistan dropped sharply, from about 130 at their peak in 2010, to just 12 so far this year. Civilian deaths also fell sharply, as the U.S. cut back on so-called signature strikes against clusters of militant suspects, which had caused the most casualties.
Now, Mr, Obama announced Thursday, U.S. drones will attack only militants who pose an imminent threat to the U.S., virtually ruling out strikes against the Pakistani Taliban, whose stated goal is the creation of an Islamist caliphate in Pakistan.
Still, the shift signaled good news for Nawaz Sharif, the prime minister-designate, who has vowed to make Pakistan less dependent on the U.S.world