IPC section 97 is now BNS 35
Old law · IPC section 97
Right of private defence of the body and of property
Every person has a right, subject to the restrictions contained in section 99, to defend—
First.—His own body, and the body of any other person, against any offence affecting the human body;
Secondly.—The property, whether movable or immovable, of himself or of any other person, against any act which is an offence falling under the definition of theft, robbery, mischief or criminal trespass, or which is an attempt to commit theft, robbery, mischief or criminal trespass.
New law · BNS section 35
Right of private defence of body and of property
Every person has a right, subject to the restrictions contained in section 37, to defend—
(a) his own body, and the body of any other person, against any offence affecting the human body;
(b) the property, whether movable or immovable, of himself or of any other person, against any act which is an offence falling under the definition of theft, robbery, mischief or criminal trespass, or which is an attempt to commit theft, robbery, mischief or criminal trespass.