The Indian Penal Code was the official criminal code of the Republic of India, inherited from British India after independence. From Wikipedia