The Instrument of Accession was a legal document executed by Maharaja Hari Singh, the ruler of the princely state of Jammu and Kashmir, on 26 October 1947, by which he acceded to the Dominion of India. This was done in the context of an ongoing invasion by tribal militias supported by Pakistan.