Moscow: A 38-year-old man in Russia could be jailed for writing 'God doesn't exist' on social media, a media report said.

Viktor Krasnov had interacted with two strangers online during which he told them that God doesn't exist, the mashable.com reported. The incident took place in Russia's southern city of Stavropol.

Krasnov stands accused of violating a 2013 law that made it a crime to offend the sentiments of religious people, the report added.

If convicted, he could be sentenced to one year in prison.

Russia introduced the ban after Pussy Riot's infamous punk protest inside a Moscow cathedral a few years ago.

According to the report, Krasnov wrote on the Russian social network Vkontakte (In Contact) in October 2014: "There is no God" after two other men, Dmitry Burnyashev and Aleksandr Kravstov, wrote about their views of traditional Orthodox Christian family values.

Krasnov also allegedly used derogatory words to describe Jews and called the Bible a "collection of Jewish fairy tales."

His case comes amid a Kremlin crackdown on freedom of expression, especially on the Internet.