The enol acylation of 5alpha-androst-2-en-17-one (I) with isopropenyl acetate (A) using H2SO4 as catalyst gives 17-acetoxyandrost-2,16-diene (II), which is epoxidized by treatment with m-chloroperbenzoic acid in ether yielding 2alpha,3alpha:16alpha,17alpha-diepoxy-17beta-acetoxy-5alpha-androstane (III). The hydrolytic rearrangement of (III) with KOH affords 2alpha,3alpha-epoxy-5alpha-androstan-17beta-ol-16-one (IV), which is condensed with refluxing aqueous piperidine (B) to give 2beta,16beta-dipiperidino-5alpha-androstan-3alpha-ol-17-one (V). The reduction of (V) with NaBH4 in methylene chloride - methanol yields 2beta,16beta-dipiperidino-5alpha-androstan-3alpha,17beta-diol (VI), which is acetylated by reaction with acetyl chloride as usual to afford the corresponding diacetate (VII). Finally, this compound is quaternized by reaction with methyl bromide in ether.