Nelson Mandela has left hospital after "successful" medical tests and returned to his home in Johannesburg.
The 94-year-old former president and anti-apartheid leader was admitted to a hospital in Pretoria, the capital, on Saturday.
"The doctors have completed the tests," presidential spokesman Mac Maharaj said in a statement. "He is well and, as before, his health remains under the management of the medical team."
The African National Congress, South Africa's ruling party, had earlier released a statement saying it believed Mandela was in "capable and competent hands".
Mandela, who has become increasingly frail in recent years, spent nearly three weeks in hospital in December. He was treated for a lung infection and had surgery to remove gallstones.