Mandela had been hospitalized earlier this year due to a lung infection.