An Indonesian man was sentenced to 30 months in prison Wednesday for posting atheist and anti-Islamic messages to Facebook.

Alexander Aan, 30, was reportedly an active member of an atheist Facebook group where he shared irreverent cartoons of prophet Mohammed — like one where he has sex with his servant — and posted atheistic sentiments like “God doesn’t exist.”

Aan gained local notoriety about his posts in January, when an angry mob came to his office and beat him. He was arrested two days later and charged with “disseminating information aimed at inciting religious hatred or hostility.”

Source: Mashable