The Gurkha Contingent was formed in Singapore on 9 April 1949 in the wake of Indian independence from the British Empire, where Gurkhas battalions from the British Indian Army were divided between the Indian Army and the British Army. Those transferred to the British Army were posted to other remaining British Colonies. In Malaya and Singapore, their presence was badly needed to battle the worsening communist threat, and to replace the Sikh unit in Singapore which reverted to the Indian Army on Indian independence. Just a year after their formation, their presence became an asset when racial riots between the Malay and European communities broke out over the disputed custody of Maria Hertogh. The GC troopers were again activated when major rioting erupted all over the country between the ethnic Malays and Chinese on Prophet Mohammed's birthday from 21 July 1964 till September that same year.