Pervez Musharraf (; born 11 August 1943) is a Pakistani politician and a retired four-star general who became the tenth president of Pakistan after the successful military takeover of the federal government in 1999. He held the presidency from 2001 until 2008, when he tendered his resignation to avoid impeachment.