Section II. A Crime
Article 24. Preparation for a Crime and an Attempted Crime
3. Acts (their omission) which are carried out with direct intent, and which are aimed directly at the commission of a crime, shall be recognised as an attempted crime, if, in this case, a given crime was not consummated due to circumstances which did not depend upon the will of a given person.
4. Criminal liability shall emerge only for an attempted crime of medium gravity, grave or especially grave crime.
EDIT.