India’s Supreme Court has overturned a law that has led to the arrest of several people for comments they left on social networking sites like Facebook and Twitter.

It seems that many of the arrests to date related to posts or emails that were critical of the Indian government, and had, in some cases, resulted in people who simply ‘Liked’ a comment being arrested too.

According to the BBC, the court ruled today that the law was “unconstitutional” as it violated people’s right to freedom of expression. The specific part of the law pertaining to social posting was Section 66A, which allowed for up to three years’ jail time for sending an email or other message that caused annoyance.

➤ Section 66A: India court strikes down ‘Facebook’ arrest law [BBC]

Featured image credit: nevodka / Shutterstock.com

Read next: Microsoft announces Azure App Service; hopes it will serve as the backend for all kinds of apps