One of Africa's biggest music stars, Diamond Platnumz, has offered a formal apology to the Tanzanian authorities over a performance of a sexually suggestive song after it had been banned.

It resulted in the authorities barring him earlier this week from performing in East African country.

Diamond Platnumz's hit song Mwanza contains the Swahili word for "horny", and dancers are seen in a video simulating sex.

The Tanzanian star shared his video statement to social media. In it, he sits next to fellow musician Rayvanny and says:

With utmost humility, we would like to apologise to our esteemed United Republic of Tanzania, Ministry of Information, Culture and Sports and our National Arts Council and everyone who felt offended by our performance of the song Mwanza at the Wasafi festival.

We are doing our best to be good role models in this nation, but to be human is to err. We made a mistake in performing a banned song. We promise not to repeat that mistake, we would also urge our fans and fellow artists to be good ambassadors of our Tanzanian culture."