The person who was sentenced to life in prison but then later became president of South Africa is Nelson Mandela.
A prison refers to a building where criminals are kept for punishment. A prison holds people for a longer time.
In other words, it is a tool used for political repression. Nelson Mandela became the first president of South Africa in 1994 that was sentenced to life in prison.
Therefore, B is the correct option.
Learn more about Prison here:
https://brainly.com/question/2663000