Section 377 IPC (now revised by Navtej Singh Johar v. UoI)
Originally criminalised consensual same-sex acts. Read down by the Supreme Court in 2018 (Navtej Johar) as unconstitutional insofar as it criminalised consensual adult relations.
⚖️ Answers here are general legal information, not legal advice. For your specific circumstances, consult an advocate directly.