<P> This is a list of capital cities, including the legislature or seat of government, of Pakistan and its current and former provinces, territories, and states . </P> <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>

When did rawalpindi became the temporary capital of pakistan