South Africa’s security services have been accused of hacking a politician’s phone after a sex tape emerged.

The 13-second video of Home Affairs Minister Malusi Gigaba masturbating on his own was widely circulated.

His spokesman accused security services of stealing the video from his phone and he accused an opposition politician of leaking it.

The spokesman said that the minister had started getting blackmail threats last year.

Malusi Gigaba@mgigaba

My wife and I have learned, with regret and sadness, that a video containing material of a sexual nature, meant for our eyes only, which was stolen when my communication got illegally intercepted/my phone got hacked, in 2016/17, is circulating among certain political figures…

Malusi Gigaba@mgigaba

These blackmail/extortion attempts as well as the illegal interception of my communication/hacking of my phone have all been reported to the relevant law enforcement/intelligence agencies and I am advised that the resultant investigations are still continuing…

Malusi Gigaba@mgigaba

I take this opportunity to publicly apologise, in advance, to the rest of my family – especially my kids, my mom and my in-laws – and the South African public for the pain and embarrassment the likely wider distribution of this private material will cause…

The video is being shared widely on WhatsApp among South Africans, the BBC’s Milton Nkosi reports.

Malusi Gigaba@mgigaba

These blackmail/extortion attempts as well as the illegal interception of my communication/hacking of my phone have all been reported to the relevant law enforcement/intelligence agencies and I am advised that the resultant investigations are still continuing…

His spokesman, Vuyo Mkhize, told public broadcaster SABC that 10m rand ($690,000, £540,000) had been demanded.

“The state security agency was behind the illegal interception of the minister’s communication/retrieval of the video from his phone,” he tweeted.