Barış Pehlivan, editor-in-chief of the Oda TV news portal, has been given 11 months 20 days prison sentence for “insulting” Turkish President Recep Tayyip Erdoğan.

According to the Diken news portal, Pehlivan found guilty for publishing the sarcastic comments made by the British comedian John William Oliver’s comments during the HBO political talk-show.

Insulting the president is a crime in Turkey, according to the controversial Article 299 of the Turkish Penal Code (TCK). Whoever insults the president can face up to four years in prison, a sentence that can be increased if the crime is committed through the mass media.