Can a person be held criminally liable for an act they genuinely believed was lawful? This is one of the more nuanced questions in Indian criminal law, and Section 79 of the Indian Penal Code (IPC) directly addresses it. The section carves out a defense for individuals who act under the sincere belief – even if ultimately mistaken – that their conduct is justified by law. It recognizes a fundamental principle: criminal liability must account not just for what a person did, but for what they honestly believed they were permitted to do.
Table of Contents
- What Section 79 IPC actually says
- The two limbs of Section 79
- Limb 1: Actual legal justification
- Limb 2: Honest mistake of fact
- Mistake of fact vs. mistake of law
- The role of ‘good faith’ – and why it’s demanding
- How IPC Section 52 differs from the General Clauses Act
- When good faith fails: lessons from key judgments
- Section 79 and BNS Section 17
- Practical scope and limits of the defense
What Section 79 IPC actually says
Section 79 of the IPC reads: “Nothing is an offence which is done by any person who is justified by law, 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 justified by law, in doing it.”
This provision covers two distinct situations. First, where the act is actually justified by law – meaning some legal provision expressly permits it. Second, where the person mistakenly but in good faith believes the act is legally justified – even if that belief turns out to be factually wrong. The critical qualification is that the mistake must be one of fact, not of law. Ignorance of the law is never an excuse under this section.
The two limbs of Section 79
Limb 1: Actual legal justification
When a law explicitly authorizes or requires a person to act in a certain way, that act cannot be treated as a criminal offense. A police officer making a lawful arrest, a soldier firing on an enemy in armed conflict, or a magistrate ordering detention – all these are instances where the act is directly justified by a governing legal provision. As the Supreme Court observed in Raj Kapoor v. Laxman, AIR 1980 SC 605, where the act’s performance is justified by law – that is, by some other provision – Section 79 exonerates the doer because the act simply ceases to be an offense.
The Raj Kapoor case is itself a clear illustration. The film producer was prosecuted under Section 292 IPC for screening the film Satyam Shivam Sundaram, which was alleged to contain obscene content. However, the Central Board of Film Censors had already certified the film under Section 5A of the Cinematograph Act, 1952. The Supreme Court held that the certification by an expert statutory body amounted to legal justification, and the producer’s act of publicly screening the film was therefore protected under Section 79. The prosecution could not proceed.
Limb 2: Honest mistake of fact
The second limb is more frequently invoked and more legally complex. It protects a person who genuinely but mistakenly believes, based on a wrong understanding of the facts (not the law), that their action is legally authorized. The classic illustration provided in the IPC itself: A witnesses what appears to be a murder being committed by Z, and in the exercise of the power that the law gives all persons to apprehend murderers in the act, seizes Z to bring him before authorities. It later turns out that Z was actually acting in self-defense. A has committed no offense, because A acted in good faith on a mistaken reading of the facts – he thought he was watching a murder.
Similarly, in State of Orissa v. Khora Ghasi, 1978 CrLJ 1305, the accused was guarding his field at night and shot an arrow at a moving shape, genuinely believing it to be a bear. It turned out to be a man who died from the wound. The Orissa High Court held that the accused could not be held liable for murder, as his act was covered by Sections 79 and 80 of the IPC – he had acted under a bona fide mistake of fact. In Keso Sahu v. Saligram Shah, 1977 CriLJ 1725, the accused in good faith brought a cart and its operator to a police station, believing smuggling was taking place in the plaintiff’s house. The suspicion was proven wrong, but the court held that since the accused had acted under a genuine and reasonable mistake of fact, he was entitled to the defense under Section 79.
Mistake of fact vs. mistake of law
Section 79 draws a sharp line between a mistake of fact and a mistake of law. This distinction is critical. If a person commits an act believing it is not illegal – when it actually is – that is a mistake of law, and Section 79 offers no protection. A person who sells a controlled substance believing it is legal to trade cannot rely on this section. But if a person takes an action based on a wrong understanding of the surrounding circumstances – who the other person is, what they are doing, or what situation they are in – that is a mistake of fact and may attract the protection of this provision.
The difference is best understood this way: mistaking the facts means you misread the situation. Mistaking the law means you misunderstood what the law permits. Courts draw this line carefully because allowing “I didn’t know it was illegal” as a defense would effectively nullify criminal law.
The role of ‘good faith’ – and why it’s demanding
Good faith is the spine of the Section 79 defense. Without it, neither limb applies. Section 52 of the IPC defines good faith in a deliberately strict way: “Nothing is said to be done or believed in good faith which is done or believed without due care and attention.”
This is a negative definition – it tells you what is not good faith, rather than what is. The emphasis falls on due care and attention. Good intentions alone are not enough. A person who sincerely but carelessly acts – without bothering to verify the facts that justify their action – cannot claim good faith under the IPC. The phrase “due care and attention” means making a reasonable effort, proportionate to the situation, to understand the facts before acting. It is an objective standard assessed by the court against the circumstances of each case.
How IPC Section 52 differs from the General Clauses Act
There is an important distinction between the IPC’s definition of good faith and the one found in Section 3(22) of the General Clauses Act, 1897. The General Clauses Act defines good faith as something done honestly, whether or not it was done negligently. The stress there is on the moral quality of honesty – the rightness of motive. Under that standard, a negligent act can still be a “good faith” act, as long as the person’s intent was honest.
The IPC, by contrast, is stricter. Under Section 52, negligence eliminates good faith. An honest but careless person cannot invoke Section 79’s protection in criminal proceedings. This higher standard exists for an important reason: criminal law deals with punishment, and the law insists that someone seeking immunity from punishment must demonstrate not just that they meant well, but that they acted with reasonable prudence. The General Clauses Act standard applies more typically in civil and administrative contexts, where the consequences of an error are less severe and the focus is on the actor’s moral intentions rather than their care.
When good faith fails: lessons from key judgments
The courts have been consistent in rejecting good faith claims where the accused acted carelessly. In Hayat v. Emperor, AIR 1932 Lahore 243, the accused, in dim light, mistook a child for a spirit or demon and attacked the child, who later died. The court rejected the Section 79 defense, holding that a man of reasonable prudence would not have concluded that the figure was a supernatural entity. The belief was not only mistaken but also unreasonable – precisely the kind of reckless assumption that the due care requirement guards against.
An equally significant ruling is the Supreme Court’s judgment in Sushil Ansal v. State Through CBI (2014), arising from the Uphaar Cinema fire tragedy that claimed 59 lives. The theater owners argued that their actions were covered by Section 79, since they held a valid license to operate the cinema and had received approvals from authorities. The Supreme Court firmly rejected this argument. It held that the existence of a license did not relieve the occupiers of their independent duty to ensure patron safety – to maintain emergency exits, fire extinguishers, and safe seating arrangements. Since these obligations were systematically neglected, there was no basis for a good faith belief that they were on the right side of the law. Good faith cannot serve as a shield where a person has plainly failed to discharge fundamental legal duties.
Contrast this with the outcome in Chirangi v. State (1952) Cri LJ 1212, where the accused, in a moment of delusion, genuinely mistook his own son for a dangerous animal and attacked him with an axe. The court found this to be a bona fide mistake of fact and did not hold him criminally liable. The difference from Hayat lies in the nature of the mental state: in Chirangi, the court found that the mistake, though tragic, was genuine and not the product of carelessness.
Section 79 and BNS Section 17
With the coming into force of the Bharatiya Nyaya Sanhita, 2023 (BNS), effective July 1, 2024, Section 79 of the IPC has been replaced by Section 17 of the BNS. The text and the underlying principles remain substantively identical. The foundational requirements – legal justification, honest mistake of fact (not law), and good faith defined by due care and attention – continue unchanged. Students studying the IPC should be aware that when examining judgments and academic materials relating to Section 79, these are equally applicable to BNS Section 17 for current proceedings.
Practical scope and limits of the defense
Section 79 is broad enough to cover a wide range of actors – private citizens who intervene to stop what they believe is a crime, law enforcement officers acting on incomplete information, medical professionals performing emergency procedures, and public officials carrying out duties under a reasonable (if mistaken) belief of authority. In each case, the person must satisfy three conditions: the act must be one that would otherwise constitute an offense; the belief in its legality must be based on a mistake of fact rather than law; and that belief must have been formed with due care and attention.
The defense does not protect those acting for personal gain, revenge, or other self-interested motives. It also does not shelter those whose negligence created the very circumstances in which they claim the right to act – as the Uphaar case makes plain. The section is designed to protect genuine, reasonable mistakes, not to provide a convenient escape route for those who act recklessly and then invoke good faith in hindsight. Courts evaluate the totality of circumstances: the person’s knowledge, their access to verifying information, the urgency of the situation, and whether a reasonably careful person in that position would have formed the same belief.
What do you think? If a police officer arrests the wrong person based on a description given by an eyewitness, and that description turns out to be inaccurate – should the officer be protected under Section 79, or does the law require more independent verification before making an arrest? And given that the IPC’s definition of good faith is stricter than the General Clauses Act’s – do you think this higher standard is appropriate for criminal law, or does it risk penalizing well-meaning individuals who simply made a reasonable error?
References
- https://indiankanoon.org/doc/1918278/
- https://lexforti.com/legal-news/when-the-act-of-the-doer-is-justified-by-any-governing-law-the-act-maybe-an-offence-in-any-other-law-the-doer-is-able-to-get-defence-under-79-of-indian-penal-code/
- https://thelegalquotient.com/criminal-laws/indian-penal-code/section-79-of-ipc-mistake-of-fact-justified-by-law/1198/
- https://indiankanoon.org/doc/1782869/
- https://legalserviceindia.com/legal/article-18361-good-faith-under-indian-penal-code-section-52-and-bharatiya-nyaya-sanhita-section-2-11-.html
- https://anticorruptionteam.org/hesk/knowledgebase.php?article=4079
- https://lawrato.com/indian-kanoon/ipc/section-79
Leave a Reply