Answer:
President of South Africa who spent nearly 30 years in prison is Nelson Mandela.
Step-by-step explanation:
The famous South African president Nelson Mandela was born in July 18, 1918 in Transkei. During his childhood, he lived in a rural area, herding animals, and later attended boarding school. As an adult, he graduated from Law School and began to work as an activist. Mandela spent a total of 27 years in prison for challenging the country's policy of Apartheid - an institutionalized racial segregation that ensured South Africa was dominated by its minority white people. Mandela received a Nobel Prize in 1993, and was elected president in 1994.