Original: Following the Partition of India in 1947, Dhaka became the capital of East Pakistan.
Simplified: Then it became a part of Pakistan as part of the Partition of India on 15 August 1947.