BOOK I
GENERAL PART
TITLE II
ON CRIME
CHAPTER II
FORMS OF CRIME
Article 26. Voluntary desistance
An attempt ceases to be punishable if the perpetrator voluntarily desists from proceeding to perform the crime, prevents its consummation, or prevents obtaining its result, or who puts forth serious efforts to hinder either.
EDIT.