The Indian Penal Code (IPC), 1860 is the main criminal code of India. It is a comprehensive code intended to cover all substantive aspects of criminal law. The code was drafted in 1860 on the recommendations of the first law commission of India established in 1834 under the Chairmanship of Lord Macaulay. Indian Penal Code (IPC) is the main criminal code of India. … It is important to note that the right exists only against an act that is an offence.