Section 72 in Indian Penal Codes
Title: Punishment of person guilty of one of several offences the judgment stating that it is doubtful of which
In all cases in which judgment is given that a person is guilty of one of several offences specified in the judgment, but that it is doubtful of which of these offences, he is guilty, the offender shall be punished for the offence for which the lowest punishment is provided if the same punishment is not provided for all
Title: Solitary confinement
Whenever any person is convicted of an offence for which under this Code the Court has power to sentence him to rigorous imprisonment, the Court may, by its sentence, order that the offender shall be kept in solitary confinement for any portion or portions of the imprisonment to which he is sentenced, not exceeding three months in the whole, according to the following scale, that is to say— a time not exceeding one month if the term of imprisonment shall not exceed six months; a time not exceeding two months if the term of imprisonment shall exceed six months and 1[shall not exceed one] year; a time not exceeding three months if the term of imprisonment shall exceed one year.
Title: Limit of solitary confinement
In executing a sentence of solitary confinement, such confinement shall in no case exceed fourteen days at a time, with intervals between the periods of solitary confinement of not less duration than such periods; and when the imprisonment awarded shall exceed three months, the solitary confinement shall not exceed seven days in any one month of the whole imprisonment awarded, with intervals between the periods of solitary confinement of not less duration than such periods.
Title: Enhanced punishment for certain offences under Chapter XII or Chapter XVII after previous conviction
Whoever, having been convicted,—
(a) by a Court in 2[India], of an offence punishable under Chapter XII or Chapter XVII of this Code with imprisonment of either description for a term of three years or upwards, 3[***] 3[***] shall be guilty of any offence punishable under either of those Chapters with like imprisonment for the like term, shall be subject for every such subsequent offence to 4[imprisonment for life], or to imprisonment of either description for a term which may extend to ten years.]
Title: Act done by a person bound or by mistake of fact believing himself bound by law
Nothing is an offence which is done by a person who is, or who by reason of a mistake of fact and not by reason of a mistake of law in good faith believes himself to be, bound by law to do it. Illustrations
(a) A, a soldier, fires on a mob by the order of his superior officer, in conformity with the commands of the law. A has committed no offence.
(b) A, an officer of a Court of Justice, being ordered by that Court to arrest Y, and, after due enquiry, believing Z to be Y, arrests Z. A has committed no offence.