U.S. ally Pakistan, a nuclear-armed nation of 180 million people, is fighting a Taliban insurgency in its northwest, a separatist insurgency along its Iranian border in the west, and has a heavily militarized and disputed border with arch rival India in the east.