After Ayub Khan resigned in 1969, General Yahya Khan became the president of Pakistan. He served as the president until 1971 when he was forced to resign after the Bangladesh Liberation War.
General Yahya Khan was a military general who served as the Chief of Army Staff from 1966 to 1969. He was a close confidante of Ayub Khan and was appointed as the president after Ayub Khan's resignation. However, his tenure as president was marked by political instability and the Bangladesh Liberation War, which led to the creation of Bangladesh and his subsequent resignation.