The Constituent Assembly was primarily formed (D) to draft a framework for governing independent India. Its mandate was to compose the Constitution of India, which would serve as the blueprint for the nation's governance following the end of British rule, establishing a democratic system.