NEW DELHI (AFP) - India's top court on Tuesday struck down a controversial law that made posting "offensive" comments online a crime punishable by jail, a ruling which free speech campaigners hailed as a victory.
The Supreme Court said the 2009 amendment to India's Information Technology Act, known as section 66A and widely criticised as a draconian limit on freedom of speech, was unconstitutional.
"Section 66A is unconstitutional and we have no hesitation in striking it down," said Justice R.F. Nariman, reading out the judgement. "The public's right to know is directly affected by section 66A."
The Supreme Court had been asked to examine the legality of the amendment, which makes sending information of "grossly offensive or menacing character" punishable by up to three years in jail.
In 2012 two young women were arrested under the act over a Facebook post criticising the shutdown of financial hub Mumbai after the death of a local hardline politician.
The charges were later quashed by a Mumbai court, but the case sparked outrage and fierce debate about online censorship in India.
Law student Shreya Singhal, who filed a petition in the Supreme Court challenging the amendment after the two women were arrested, welcomed Tuesday's ruling as a "big victory".
"The Internet is so far-reaching and so many people use it that it is very important for us to protect this right today, now," she said. "Governments have their own political agenda. A law has to be for the people."
Farooq Dadha, father of one of the young women, Shaheen Dadha, also welcomed the ruling against what he called a "black law". "Credit must go to everyone who fought against this law, including my daughter," he said.
The government had issued guidelines on enforcing the law, and argued in court that it could not be declared unconstitutional because of the possibility of abuse.
But the two judges hearing the case said the amendment could not be "saved by the assurances of the government that it will not be misused".
The court said the terms used in the act - such as "grossly offensive" - were too vaguely worded and were open to abuse.
Dozens of people have been arrested under 66A since its introduction in 2009, although no one has been convicted.
Only last week, 19-year-old student Vicky Khan was arrested and thrown in jail in northern India for posting a quote on Facebook that he attributed to a local minister, after the politician denied making the comment.
The charge was later dropped, but Khan described his experience as "a nightmare for me and my family".
"I am relieved and happy that the court has struck down the section," he said in comments broadcast on the NDTV news channel.
"I was really scared to know that I could be jailed for three years. I was unaware of the consequences when I posted the comment."
Communications and IT Minister Ravi Shankar Prasad said the government would respond after reading the judgement in full, but that it was "not in favour of curtailing honest criticism".
Mr Prasad had said after Khan's arrest last week that politicians must learn to be "tolerant" of criticism, and exercise "sensitivity" over the power of arrest under section 66A.