At the time of Indian Independence in 1947, as per the terms of the Britain–India–Nepal Tripartite Agreement, six Gorkha regiments, formerly part of the British Indian Army, became part of the Indian Army and have served ever since. The troops are mainly from ethnic Gurkha communities of Nepal. A seventh Gorkha Rifles regiment was re-raised in the Indian Army after Independence to accommodate Gorkha soldiers of the 7th Gurkha Rifles and the 10th Gurkha Rifles who chose not to transfer to the British Army.