A two-judge bench of the Supreme Court of India on Wednesday decided to reinstate a colonial-era law criminalizing gay sex in the country.

The 98-page judgment overturned a 2009 lower court decision which ruled that Section 377 of the Indian Penal Code was unconstitutional to impose a 10-year to life sentence for “carnal intercourse against the order of nature with man, woman or animal.”