In 1947 the Indian Independence Act was passed, this meant that British India would become two independent states - Pakistan and India. Also each of the princely states would be free to join India or Pakistan - or remain independent. All of princely ended up becoming part of Pakistan or India.