The Constitution of India lays out the framework for the government of India. It establishes the main organs of state - the legislature, executive, and judiciary - and defines their powers and relationships. The constituent assembly drafted the constitution over three years, borrowing from other constitutions as well as India's own traditions. The constitution establishes India as a sovereign, socialist, secular, democratic republic with a parliamentary system of government.