The powerful Pakistan Army, which has ruled coup-prone Pakistan for more than half of its 75-plus years of existence, has wielded considerable power in matters of security and foreign policy.