A 21-year-old has become the latest Ugandan TikToker to be sent to prison after creating a video that was said to insult President Yoweri Museveni.

Emmanuel Nabugodi appeared for the sentencing on Monday after pleading guilty last week to four charges, including hate speech and spreading malicious information about the president.

He was sentenced to 32 months in jail.

Nabugodi, known for sharing comedy content to his 20,000 followers, made a film of a mock trial of the head of state. In it he called for Museveni’s public flogging.

Rights groups have frequently complained about restrictions on the freedom of speech in the country, alleging that the president – in power since 1986 – does not tolerate criticism.

In July, Edward Awebwa was handed a six-year sentence on similar charges to Nabugodi regarding a TikTok post. Three others are awaiting trial over content on the social media app.

When handing down Nabugodi’s sentence, Stellah Maris Amabilis, the chief magistrate of the court in Entebbe, said he was not remorseful and the sentence would help prevent social media attacks against people including the person of the president.