India Gays - Top Indian court upholds law making gay sex a crime The law dates back to the 1860s and carries a penalty of 10 years in prison. Ref. Source 7 Politics, Business, Civil & History.