The Indian Independence Act was passed on July 18, 1947, and as a result British India was to be divided into India and Pakistan upon independence on August 15, 1947. They were to be dominions (India, Pakistan) under the Crown until they had enacted their own constitutions.