The MENA state news agency said Saturday a the misdemeanor court found Ayman Mansour had intentionally mocked Islam and used “outrageous and scurrilous” language in describing the religion’s holy book, the Qur’an, and its prophet and believers.

The court said freedom of belief doesn’t excuse contempt that may offend believers and “subject the regime and the country’s security to serious dangers.”

Egypt is grappling with an increasingly assertive ultraconservative Islamist trend, and recent clashes between the military police and Coptic Christians have heightened fears of increasing sectarian strife.