The British colonization of India in the 18th century brought significant changes to the country's social and cultural landscape. The British imposed their own laws and values, including the Criminal Tribes Act of 1871 and Section 377 of the Indian Penal Code (IPC), which criminalized same-sex relationships. This legislation had a profound impact on the lives of LGBTQ+ individuals in India, forcing them to live in secrecy and fear.