In the aftermath, all power was transferred from the East India Company to the British Crown, which began to administer most of India as a number of provinces. The Crown controlled the Company's lands directly and had considerable indirect influence over the rest of India, which consisted of the Princely states ruled by local royal families. There were officially 565 princely states in 1947, but only 21 had actual state governments, and only three were large (Mysore, Hyderabad and Kashmir). They were absorbed into the independent nation in 1947–48.