After independence in 1947, Jinnah, the President of the Muslim League, became the nation's first Governor-General as well as the first President-Speaker of the Parliament, but he died of tuberculosis on 11 September 1948. Meanwhile, Pakistan's founding fathers agreed to appoint Liaquat Ali Khan, the secretary-general of the party, the nation's first Prime Minister. From 1947 to 1956, Pakistan was a monarchy within the Commonwealth of Nations, and had two monarchs before it became a republic.