Reduction of ketoester (I) with NaBH4 in THF-MeOH afforded diol (II), which was treated with HCl in toluene to give chlorohydrin (III). Benzanilide (VII) was prepared by condensation of acid chloride (IV) with aniline (V), followed by catalytic hydrogenolysis of the resulting benzyl ether (VI). Then, alkylation of phenol (VII) with chloride (III) in the presence of K2CO3 provided ether (VIII). The hydroxyl group of (VIII) was converted to bromide (IX) using CBr4 and this compound was condensed with N-(2-methoxyphenyl)piperazine (X) to produce disubstituted piperazine (XI). The ethyl ester group of (XI) was finally hydrolyzed using KOH in aqueous EtOH.