Please read both section
211. False charge of offence made with intent to injure—Whoever, with intent to cause injury to any person institutes or causes to be instituted any criminal proceeding against that person, or falsely charges any person with having committed an offence, knowing that there is no just or lawful ground for such proceeding or charge against that person, shall be punished with imprisonment of either descripttion for a term which may extend to two years, or with fine, or with both;
and if such criminal proceeding be instituted on a false charge of an offence punishable with death, imprisonment for life, or imprisonment for seven years or upwards shall be punishable with imprisonment of either descripttion for a term which may extend to seven years, and shall also be liable to fine.
511. Punishment for attempting to commit offences punishable with imprisonment for life or other imprisonment—Whoever attempts to commit an offence punishable by this Code with imprisonment for life or imprisonment, or to cause such an offence to be committed, and in such attempt does any act towards the commission of the offence, shall where no express provision is made by this Code for the punishment of such attempt, be punished with imprisonment for any descripttion provided for the offence, for a term which may extend to one-half of the imprisonment for life or, as the case may be, one-half of the longest term of imprisonment provided for that offence, or with such fine as is provided for the offence, or with both.
Illustrations
(a) A makes an attempt to steal some jewels by breaking open a box, and finds after so opening the box, that there is no jewel in it. He has done an act towards the commission of theft, and therefore is guilty under this section.
(b) A makes an attempt to pick the pocket of Z by thrusting his hand into Z's pocket. A fails in the attempt in consequence of Z's having nothing in his pocket. A is guilty under this section.