Talk to a lawyer

IPC

IPC Section 79 – Act Done By A Person Justified, Or By Mistake Of Fact Believing Himself Justified, By Law

This article is also available in: हिन्दी | मराठी

Feature Image for the blog - IPC Section 79 – Act Done By A Person Justified, Or By Mistake Of Fact Believing Himself Justified, By Law

In criminal law, intention and knowledge play a vital role in determining guilt. Sometimes, a person commits an act under a mistaken belief that it is lawful, not out of criminal intent but due to an honest misunderstanding of facts. To safeguard such individuals, Section 79 of the Indian Penal Code (now replaced by Section 17 of the Bharatiya Nyaya Sanhita). Provides protection for acts done either under legal justification or under a mistake of fact in good faith. This section reflects the humane side of criminal law, ensuring that a person acting with honest belief and without wrongful intent does not face punishment.

What We’ll Cover in This Blog

  • The legal text and meaning of Section 79 IPC
  • Simplified explanation of “mistake of fact” and “justification by law”
  • Practical example
  • Purpose of the section
  • Judicial interpretation with case laws
  • Modern-day relevance

Legal Text of IPC Section 79

Section 79. Act done by a person justified, or by mistake of fact believing himself justified, by law.

“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.”

Simplified Explanation

Section 79 provides legal immunity in two situations:

  1. When a person is justified by law:
    If the law itself authorizes or requires a person to do an act, then that act cannot be considered an offence.
    Example- A police officer arresting a person under a valid warrant is legally justified.
  2. When a person acts under a mistake of fact in good faith:
    If someone commits an act based on a mistaken understanding of facts, believing it to be lawful, he is not criminally liable, provided the mistake is of fact, not of law, and the belief is held in good faith.
    Example- A person shooting in self-defence, genuinely believing someone is about to attack him, even if that belief later turns out to be wrong.

Key distinction:

  • Mistake of fact can excuse liability.
  • Mistake of law (not knowing what the law says) is no excuse.

Practical Example

A soldier, while on duty, is ordered by his superior to fire at a crowd, believing that the order is lawful and necessary to disperse a violent mob. Later, it turns out that the order was unlawful.
If the soldier acted in good faith, believing he was carrying out a lawful order, he is protected under Section 79, as his belief was based on a mistake of fact and not an intentional wrongdoing.

However, if the soldier knew the order was illegal or acted maliciously, the protection would not apply.

Purpose of Section 79 IPC

  • To protect innocent individuals who act without criminal intent under a genuine and reasonable mistake of fact.
  • To encourage good faith actions by law-abiding citizens and officials.
  • To ensure that the mens rea (guilty mind), a key element of crime, is considered before assigning criminal responsibility.
  • To uphold justice and fairness by distinguishing between intentional wrongdoing and honest error.

Judicial Interpretation

Indian courts have played a vital role in explaining the scope and intent of this section. Through various judgments, they have clarified how it should be applied in real-life situations and ensured its alignment with constitutional principles.

1. Chirangi v. State (1952 AIR All 882)

Facts: The accused killed his own son, believing him to be a wild animal due to darkness and confusion.
Held: In the case of Chirangi v. State (1952 AIR All 882) The Allahabad High Court held that the act was committed under a mistake of fact in good faith. Hence, the accused was entitled to protection under Section 79 IPC, as there was no criminal intention.

2. State of Orissa v. Bhagaban Barik (AIR 1976 Ori 88)

Facts: A police officer arrested a person under a mistaken belief that a valid warrant existed against him.
Held: In the case of State of Orissa v. Bhagaban Barik (AIR 1976 Ori 88) Court ruled that since the officer acted in good faith under a mistaken fact, believing himself justified by law, he was protected by Section 79.

3. Emperor v. Abdeol Wadood Ahmed (AIR 1907 Bom 46)

Facts: A man published statements believing them to be justified as fair criticism of a public official.
Held: In the case of Emperor v. Abdeol Wadood Ahmed (AIR 1907 Bom 46) Bombay High Court clarified that good faith requires due care and attention. If the act is reckless or careless, the protection of Section 79 cannot be claimed.

Modern-Day Relevance

Section 79 continues to be important in both law enforcement and citizen conduct:

  • It protects individuals acting under honest and reasonable mistakes, for instance, police officers executing duties under incorrect but seemingly valid facts.
  • It aligns Indian criminal law with the principle of mens rea, ensuring punishment only where there is culpable intent.
  • In an age where citizens frequently interact with the law (e.g., self-defense, cyber reporting, property disputes), this section prevents unjust prosecution for innocent mistakes.

Thus, Section 79 strikes a balance between individual protection and social accountability.

Conclusion

Section 79 IPC embodies fairness in criminal justice by ensuring that innocent mistakes are not punished as crimes. It shields individuals who act in good faith, believing they are justified by law, as long as their belief arises from a mistake of fact and not ignorance of law. By focusing on the actor’s intent and reasonableness, the section ensures justice remains compassionate and rational, upholding the principle that criminal liability must rest on a guilty mind.

Disclaimer: This article explains the legal immunity under Section 78 IPC for officials executing court orders; it is not formal legal advice. For specific cases involving judicial execution or police liability, please consult a certified criminal lawyer.

Frequently Asked Questions

Q1. What is the main idea behind Section 79 IPC?

It protects persons who act lawfully or under a genuine mistake of fact, believing their act is justified by law.

Q2. What is the difference between a mistake of fact and a mistake of law?

(1) Mistake of fact: Misunderstanding facts (e.g., believing someone is an intruder). (2) Mistake of law: Ignorance of the law itself (e.g., not knowing an act is illegal). Only mistake of fact is excusable.

Q3. Can ignorance of law ever be a defence under Section 79?

No. The section specifically excludes “mistake of law” as a ground of defence.

Q4. Is good faith necessary for protection under this section?

Yes. The person must act honestly and with due care, believing his act is lawful.

Q5. How is Section 79 related to Sections 76 and 78 of the IPC?

(1) Section 76: Protects acts done under legal obligation. (2) Section 78: Protects acts done under court orders. (3) Section 79: Protects acts done under mistaken belief of justification by law.

About the Author
Adv. Malti Rawat
Adv. Malti Rawat Writer | Researcher | Lawyer View More

Malti Rawat is a law graduate who completed her LL.B. from New Law College, Bharati Vidyapeeth University, Pune, in 2025. She is registered with the Bar Council of India and also holds a bachelor’s degree from the University of Delhi. She has a strong foundation in legal research and content writing, contributing articles on the Indian Penal Code and corporate law topics for Rest The Case. With experience interning at reputed legal firms, she focuses on simplifying complex legal concepts for the public through her writing, social media, and video content.

My Cart

Services

Sub total

₹ 0