what country was pakistan apart of before it became independent
Most of the territory of modern Pakistan was occupied beginning first by the East India Company -- and continued under the post-Sepoy Mutiny direct rule of Queen Victoria of the British Empire -- through a series of wars, the main ones being the Battle of Miani (1843) in Sindh, the gruelling Anglo-Sikh Wars (1845 -- 1849) and the Anglo-Afghan Wars (1839 -- 1919), to remain a part of British Indian Empire until the independence in 1947.