General Part
Section II. Crime
Chapter 6. Incomplete Offence
Article 31. Voluntary Refusal to Commit a Crime
1. The termination by the person concerned of preparations for a crime or the termination of actions (inaction) directed expressly at the commission of the crime shall be deemed to be a voluntary refusal to commit a crime, if the person was aware of the possibility of carrying out the crime.
2. A person shall not be subject to criminal responsibility for a crime if he voluntarily and finally refused to carry at this crime.
3. A person who has voluntarily refused to carry out a crime shall be subject to criminal responsibility if the deed performed by him in actual fact contains a different corpus delicti.
4. An organizer of a crime or an abettor of a crime shall not be subject to criminal responsibility if these persons have prevented the crime to be carried at by the perpetrator by informing in time the authorities, or by applying other measures. An abettor of a crime shall also not be subject to criminal responsibility if he has taken all due measures in order to prevent the commission of the crime.
5. If the actions of the organizer or the abettor, envisaged by the fourth part of this Article, have not resulted in the prevention of the crime by the perpetrator, then the measures taken by them may be recognized by a court of law as mitigating circumstances when imposing punishment .
EDIT.