Pakistan's first president was Iskander Mirza, who was also the last Governor General. In 1958, he removed the constitution and declared martial law. A few weeks later, he was overthrown by General Ayub Khan, who then declared himself president. The constitution was changed and the president became the ruler of Pakistan. The constitution also said that the president be elected by the people. Elections were held in 1963, and Khan defeated Fatima Jinnah, sister of founder of Pakistan, Muhammad Ali Jinnah.