image copyrightEPAimage captionThe former president was sentenced to 15 months in jail last week

Former South African President Jacob Zuma has handed himself in to police to begin serving a jail sentence for contempt of court.

Late on Wednesday, his foundation said he had travelled to a prison near to his home in KwaZulu-Natal province.

Police earlier warned that they were prepared to arrest Mr Zuma, 79, if he failed to hand himself in.

He was handed a 15-month jail term for contempt of court last week after he failed to attend a corruption inquiry.

The sentencing sparked an unprecedented legal drama in South Africa, with a deadline imposed of midnight on Wednesday (22:00 GMT) for Mr Zuma's arrest.

The deadline was imposed after Mr Zuma refused to hand himself in on Sunday.

image copyrightEPAimage captionMr Zuma's supporters protested against his arrest on Sunday

South Africa has never seen a former president jailed before.

Though Mr Zuma was forced out of office by his own party, the African National Congress (ANC), he retains a loyal body of supporters, especially in his home province of KwaZulu-Natal.

On Sunday, crowds formed what they called a human shield outside Mr Zuma's palatial home. Similar crowds gathered before he handed himself in on Wednesday.

The BBC's Nomsa Maseko, who was at the scene, noted that there was a large police presence outside the property on Wednesday.

A convoy of cars believed to be carrying Mr Zuma was later seen leaving the house at high-speed shortly before the midnight deadline for his arrest.

Mr Zuma, a veteran of the fight against white minority rule in South Africa who was imprisoned for 10 years on Robben Island alongside Nelson Mandela, previously declared that he was prepared to go to prison.

Find out more about Jacob Zuma:

  • Jacob Zuma – the survivor whose nine lives ran out
  • The trials of Jacob Zuma
  • Zuma, the Guptas, and the sale of South Africa

However, he said that "sending me to jail during the height of a pandemic, at my age, is the same as sentencing me to death".

Mr Zuma has also repeatedly said that he is the victim of a political conspiracy. He has testified only once at the corruption inquiry into what has become known as "state capture" – siphoning off state assets – refusing to appear again.

In a separate legal matter, Mr Zuma pleaded not guilty last month in a corruption trial involving a $5bn (£3bn) arms deal from the 1990s.