Karachi was the capital of Sind from 1840's until Partition in 1947.
It was occupied by the British in 1839.