Section 79 of IPC 1860: Act done by a person justified, or by mistake of fact believing himself, justified, by law
Act done by a person justified, or by mistake of fact believing himself, justified, by law-Indian Penal Code
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.