The government of india (goi), officially known as the union government and also known as the central government, was established by the constitution of india, and is the governing authority of the union of 29 states and seven union territories , collectively called the republic of india. it is based in new delhi, the capital of india. the basic civil and criminal laws governing the citizens of india are set down in major parliamentary legislation, such as the civil procedure code, the indian penal code, and the criminal procedure code. the union and individual state governments all each consist of executive, legislative and judicial branches. the legal system as applicable to the federal and individual state governments is based on the english common and statutory law. because the seat of government is in new delhi, "new delhi" is commonly used as a metonym for the central government.