Nelson Mandela has been admitted to a hospital with a lung infection, officials in South Africa said.

The 94-year-old former president and anti-apartheid leader went to hospital just before midnight, according to a statement from the office of president Jacob Zuma.

Mandela is being treated for a "recurrence of his lung infection" and doctors are ensuring he has the best possible treatment, the statement said.

Mr Zuma wished Mandela a speedy recovery and urged South Africans and the world to pray for the former leader and his family. Mandela has become increasingly frail in recent years.

Mandela has been admitted to hospital several times since last year, most recently earlier this month when he received what a presidential spokesman described as a "successful" medical test.

"Doctors are attending to him, ensuring that he has the best possible expert medical treatment and comfort," the Zuma statement said. It appealed "for understanding and privacy in order to allow space to the doctors to do their work".

Mr Zuma said: "We appeal to the people of South Africa and the world to pray for our beloved Madiba and his family and to keep them in their thoughts. We have full confidence in the medical team and know that they will do everything possible to ensure recovery."

Mandela spent a night in a hospital and was released on March 10 after a medical test. At that time, presidential spokesman Mac Maharaj said Mandela was "well".

In December, Mandela spent three weeks in hospital as he was treated for a lung infection and had a procedure to remove gallstones.

A year ago, he was admitted to a Johannesburg hospital for what officials initially described as tests but what turned out to be an acute respiratory infection. He was discharged days later.

He had surgery for an enlarged prostate gland in 1985.

Under South Africa's white-minority apartheid regime, Mandela served 27 years in prison, where he contracted tuberculosis, before being released in 1990. He later became the nation's first democratically elected president in 1994 under the banner of the African National Congress, helping to negotiate a relatively peaceful end to apartheid despite fears of much greater bloodshed.

He served one five-year term as president before retiring.

Perceived successes during Mandela's tenure include the introduction of a constitution with robust protections for individual rights and the Truth and Reconciliation Commission, a panel that heard testimony about apartheid-era violations of human rights as a kind of national therapy session.

Mandela last made a public appearance on a major stage when South Africa hosted the 2010 World Cup.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.