Pakistan is a key ally of the United States in its campaign against terror .