The federal government moved in 1959 from Karachi to Rawalpindi ( provisional capital until Islamabad was finished ) , whilst the federal legislature moved to DACCA . The federal government moved in 1959 from Karachi to Rawalpindi ( provisional capital until Islamabad was finished ) , whilst the federal legislature moved to Dhaka .