LAHORE - A man was sentenced to 13 years in prison Thursday for allegedly posting religiously offensive material on his Facebook page, lawyers in the case said.

Rizwan Haider, 25, was convicted in an anti-terrorism court of three charges including promoting sectarian hatred, after he supposedly published a post referring to Prophet Muhammad (PBUH).

"This case... was registered against Haider in January for posting objectionable material," Adeel Chattha, public prosecutor in the case, told AFP. He was also fined 250,000 rupees, Chattha said, adding that he denied the charges and has the right to appeal. His lawyer dismissed the accusations. "He only liked it and did not post it on the page," Shameem Zaidi said.

The government has tightened its hate crime laws as part of a campaign to combat extremism after a Taliban attack on a school in Peshawar in December 2014 that killed 153 people, mostly children.

Authorities have arrested and sentenced several religious clerics for hate speech in recent months. Another anti-terrorism court jailed another man for 13 years in November 2015 after he also posted what it deemed sectarian hate speech on Facebook.

Rights activists condemned the ruling as "extremely concerning".