Original: Until the creation of Pakistan in 1947, it was originally part of the British Raj.
Simplified: Until British India became two independent states in the summer of 1947, Pakistan was part of British Raj for around 90 yrs.