Former South African President Nelson Mandela was discharged from hospital and returned to his Johannesburg home on Sunday, the South African presidency said.
The anti-apartheid leader remains in critical condition and is at times unstable, President Jacob Zuma said in a statement.
"His home has been reconfigured to allow him to receive intensive care there. The health care personnel providing care at his home are the very same who provided care to him in hospital," said the statement.
His doctors are convinced that 95-year-old Mandela will receive the same level of intensive care at his home in Johannesburg that he received in Pretoria, said the statement.
"If there are health conditions that warrant another admission to hospital in future, this will be done," it said.
During Mandela's stay in hospital in Pretoria, he had been treated by a large medical team from the military, academia, private sector and other public health spheres over his condition which vacillated between serious and critical and at times unstable.
"We thank all the health professionals at the hospital for their dedication," said the statement.
It was the third time for Mandela to be admitted to hospital this year. On March 27, he was hospitalized after doctors diagnosed him of having pneumonia.
He was also admitted in December for recurring lung infection.
Mandela suffered from tuberculosis when he was incarcerated for 27 years before the apartheid ended in 1994.
He was the first democratically-elected president in South Africa, having an honor of the state father in the country.