Section 377 of the Indian Penal Code is a relic of British India, having been introduced way back in 1861. It was modelled on a 16th-century British law called the Buggery Act, which was the first such civil law that criminalised certain kinds of sexual intercourse.
The Supreme Court is expected to pass its judgement on the legality of the section on Thursday. It has heard arguments representing all sides of the issue over the last few months.
Even though homosexuality was partially legalised in England more than fifty years ago, it stayed on as an illegal act in India.