Where did Gandhiji initially forge the techniques of Satyagraha ?

Where did Gandhiji initially forge the techniques of Satyagraha ?

England
South Africa
North Africa
India
This question was previously asked in
UPSC NDA-2 – 2020
The correct answer is B) South Africa.
Mahatma Gandhi spent over two decades in South Africa (1893-1914) and it was during this period that he developed and first employed the philosophy and techniques of Satyagraha (nonviolent resistance) against racial discrimination and injustice faced by Indians.
His experiences in South Africa, particularly the resistance against discriminatory laws like the Asiatic Law Amendment Ordinance (the ‘Black Act’), led him to formulate the principles of Satyagraha which he later effectively used in the Indian freedom struggle.