Resistance and results. Gandhi was not the man to nurse a grudge.On the outbreak of the South African (Boer) War in 1899, he argued that the Indians, who claimed the full rights of citizenship in the British crown colony of Natal, were in duty bound to defend it. He raised an ambulance corps of 1,100 volunteers, out of whom 300 were free Indians and the rest indentured labourers.
https://www.britannica.com/biography/Mahatma-Gandhi/Resistance-and-results