Section 377 of the Indian Penal Code is a section of the introduced in 1864 during the. Modelled on the, it is used to criminalize sexual activities 'against the order of nature'. On 6 September 2018, the ruled that the application of Section 377 to consensual between adults was unconstitutional, 'irrational, indefensible and manifestly arbitrary', but that Section 377 remains in force relating to sex with, sexual acts,. Portions of the section were first struck down as unconstitutional with respect to gay sex by the Delhi High Court in July 2009.