The Indian Constitution, which came into effect in January 1950, treated Kashmir as part of the Indian Union. However, it guaranteed the state a certain autonomy; thus Article 370 specified that the president would consult the state government with regard to subjects other than defence, foreign affairs, and communications.