GENERAL PART
Chapter III. CRIMINAL OFFENSE, ITS TYPES AND STAGES
Article 17. Voluntary renunciation in an unconsummated criminal offense
1. The voluntary renunciation shall mean the final discontinuation of the preparation for crime or a criminal attempt by a person of his/her own will, where that person have realized that the criminal offense may be consummated.
2. A person who voluntarily renounced to consummate a criminal offense shall be criminally liable only if the actual act committed by that person comprised elements of any other offense.
EDIT.