Pervez Musharraf was a Pakistani general and politician who served as the tenth president of Pakistan from 2001 to 2008.
Prior to his career in politics, he was a four-star general and appointed as the chief of Army Staff and, later, the chairman of the Joint Chiefs of Staff by prime minister Nawaz Sharif in 1998. From Wikipedia