 The agreed plan in 1946 led to elections to the provincial assemblies and the members of the assemblies in turn electing members of the Constituent assembly.Congress won majority of seats in the assembly and headed the interim government with Nehru as the prime minister.The period before independence in early 1947 was impaired by outbreaks of communal violence and political disorder, and the opposition of the Muslim League led by Muhammad Ali Jinnah, who were demanding a separate Muslim state of Pakistan.