Article 370 of the Indian constitution grants special autonomous status to Jammu & Kashmir. It allows Jammu & Kashmir to have its own constitution and restricts the application of all other provisions of the Indian constitution to the state. When India gained independence in 1947, the ruler of Jammu & Kashmir signed an instrument of accession joining India based on commitments around internal autonomy. As a result, only three subjects—defense, external affairs, and communications—come under the Union of India's control.