Answer:
Basically, Gandhi encountered an Indian immigrant community that was unaccustomed to political activity and unable to work together collaboratively to oppose the laws and practices that were degrading and oppressing them when he arrived to South Africa in 1893 to practice law. Gandhi shared in the harsh treatment of that nation's virulent racism because he was a brown immigrant.
Important:
In order to practice law, Gandhi relocated to South Africa in 1893, where he encountered hostile color discrimination from the Indian immigrant population.
Hope this helps.