In the course of a few years, Pakistan assumed strategic importance on the world stage, acting as both a linchpin in the global war on terrorism and a 'swing' state in the ideological conflict between democracy and dictatorship, and between Islamic and secular rule. How did this poor country come to occupy such a position?