<P> Islamabad officially became the capital of Pakistan on 14 August 1967, exactly 20 years after the country's independence . Previously, Rawalpindi was the capital, designated in 1958 . The first capital of Pakistan was the coastal city of Karachi, which was selected by Muhammad Ali Jinnah . Karachi was and still is the largest city and economic capital of Pakistan . It remained the seat of government until 1959, when the military president, Ayub Khan, decided to build a new capital in the north of Pakistan, near the general headquarters of the Pakistani Armed Forces at Rawalpindi . </P> <P> The legislature was based in Dacca in the province of East Bengal (later renamed East Pakistan). </P> <P> The reasons for relocating the capital from Karachi are that it would reflect the diversity of the Pakistani people, it would be separated from the business and commercial activity of Karachi, and also it would be easily accessible from all parts of the country . The move to Islamabad was not completed until the late 1960s and for some years several government ministries were based in nearby Rawalpindi . </P> <P> The capitals of the provinces and territories of Pakistan have remained the same since the 1970s when the current administrative structure was established . All four provincial capitals are the largest cities of their respective provinces. Pakistan has a total population of 207,774,520 according to 2017 census estimate . </P>

Which city never be the capital of pakistan