A Turkish court has ruled to imprison a Samsun man identified with initials T.A. on charges of insulting Mustafa Kemal Atatürk, the founder of modern Turkey, according to Turkish media reports.

The Cumhuriyet daily reported that the man was detained by the police after harassing his ex-girlfriend despite a restraining order. The man reportedly started insulting Atatürk while in police custody. He was subsequently arrested and sent to jail on Thursday.

An article in the Turkish Penal Code (TCK) protects Atatürk’s memory, stipulating one to three years in prison for explicit insults of him.