The reaction of 1-isothiocyanato-2-nitrobenzene (I) with ethyl 4-aminopiperidine-1-carboxylate (II) in ethanol gives N-(2-nitrophenyl)-N'-(1-ethoxycarbonyl-4-piperidyl)thiourea (III), which is reduced with H2 over Pd/C in methanol saturated with NH3 to afford N-(2-aminophenyl)-N'-(1-ethoxycarbonyl-4-piperidyl)thiourea (IV). The cyclization of (IV) with iodomethane in refluxing ethanol yields 2-(1-ethoxycarbonyl-4-piperidylamino)benzimidazole (V), which is then condensed with 4-fluorobenzyl chloride (VI) by means of Na2CO3 in hot DMF to yield 1-(fluorobenzyl)-2-(1-ethoxycarbonyl-4-piperidylamino)benzimidazole (VII). The decarboxylative hydrolysis of (VII) with 48% HBr in refluxing acetic acid gives 1-(p-fluorobenzyl)-2-(4-piperidylamino)benzimidazole (VIII), which is finally condensed with p-methoxyphenylethyl methanesulfonate (IX) by means of Na2CO3 - KI in hot DMF.