Section 377 of the Indian Penal Code, dating back to 1860, criminalises sexual acts "against the order of the nature". The section was decriminalised with respect to sex between consenting adults by the Delhi High Court in July 2009. But in 2013, the judgement was overturned by the Supreme Court, which held that amending or repealing Section 377 should be a matter left to Parliament, not the judiciary.