The Indian Penal Code was the official criminal code in the Republic of India, inherited from British India after independence, until it was repealed and replaced by Bharatiya Nyaya Sanhita in December 2023, which came into effect on 1 July 2024. From Wikipedia