The cyclization of 3-hydroxy-1,2-phenylenediamine (I) with 2-phenoxyacetonitrile (II) by means of sodium methoxide in methanol gives the benzimidazole (III), which is acylated with 4-(3-bromopropyl)piperidine-1-carboxylic acid tert-butyl ester (IV) by means of NaH and KI in hot DMF yielding the N-alkylated benzimidazole (V). The alkylation of the hydroxy group of (V) with 1-(3-bromopropyl)piperidine (VI) by means of NaH and KI as before affords the dialkylated benzimidazole (VII), which is deprotected with TFA in dichloromethane affording the free piperidine (VIII). Finally, the piperidine group of (VIII) is alkylated with 2-(4-iodophenyl)ethyl bromide (IX) by means of NaHCO3 in hot DMF.