Khan Abdul Ghani Khan
During a part of Ghani Khan’s life, modern-day Pakistan did not exist. India was under British rule (hence called British India) and was fighting for its independence from the British. On August 15, 1947, India finally gained its independence. And a day before, on August 14, 1947, Pakistan had been born, becoming independent of British India. Hence, before all this independence, the Pashtuns who are now in Pakistan (all except the Swati Pashtuns, since Swat was an independent, princely state until 1964) were under the rule of British India before the partition of India and Pakistan. This is where and why Bacha Khan’s work was significant.
Jammu and Kashmir (princely state)
In 1947, Britain gave up its rule of India. The Indian Independence Act divided British India into two independent states, the Dominion of Pakistan and Dominion of India. According to the Act, "the suzerainty of His Majesty over the Indian States lapses, and with it, all treaties and agreements in force at the date of the passing of this Act between His Majesty and the rulers of Indian States." So each of the princely states was now free to join India or Pakistan or to remain independent. Most of the princes acceded to one or the other of the two nations.