Mandela was imprisoned for 27 years for fighting apartheid in South Africa.