Nelson Mandela was the first democratically elected president of South Africa from 1994 to 1999 after serving 27 years in prison for his anti-apartheid activism. Gandhi was a political and spiritual leader in India who used nonviolent civil disobedience to lead India's independence movement and inspire civil rights groups worldwide. Both leaders promoted principles of nonviolence, truth, faith, simplicity, and self-governance to achieve social change.