PART TWO
ON CRIMES
Chapter 23 On Attempt, Preparation, Conspiracy and Complicity
Section 3
Responsibility for attempting, preparing or conspiring to commit a crime shall not exist if a person voluntarily, by breaking off the execution of the crime or otherwise, has prevented its completion. Even if the crime was completed, a person who has unlawfully had to do with means to that end may not be held criminally responsible for that reason if he has voluntarily prevented the criminal use of the means.
EDIT.