The president of Pakistan , Gen. Pervez Musharraf , has narrowly escaped numerous assassination attempts ; a successful one could throw control of the country , and of its nuclear weapons , into the hands of Islamic extremists .