Reaction SMILES: [Cl:1][CH2:2][CH2:3][CH2:4][O:5][C:6]1[CH:11]=[CH:10][C:9]([C:12]2N=C3C=C(C)C=CN3[CH:21]=2)=[CH:8][CH:7]=1.NC1C=C(C)C=CN=1.C([OH:32])C>>[Cl:1][CH2:2][CH2:3][CH2:4][O:5][C:6]1[CH:11]=[CH:10][C:9]([C:12](=[O:32])[CH3:21])=[CH:8][CH:7]=1
Reactant: Cc1ccn2cc(-c3ccc(OCCCCl)cc3)nc2c1
Reactant: CCO
Agent: Cc1ccnc(N)c1
Product: CC(=O)c1ccc(OCCCCl)cc1
Temperature: 25 °C

Procedure:
A mixture of p-hydroxyacetophenone (15 g) and 1-bromo-3-chloropropane (12 mL) in acetone (200 mL) was treated with potassium carbonate (17 g). The mixture was stirred at reflux temperature for 18 hours. The reaction was cooled to ambient temperature and filtered. The filtrate was concentrated in vacuo. The residue was dissolved in ether, washed with water, dried over sodium sulfate, filtered and evaporated to yield the title compound (23 g). Step B Preparation of Alpha-bromo-4-chloropropoxyacetophenone A solution of the product of Step A (2.0 g) in ether (10 mL) was treated with bromine (0.48 mL) and the mixture stirred for 18 hours. The mixture was poured into saturated sodium bicarbonate solution (50 mL) and the organic layer was separated. The aqueous layer was washed with a fresh portion of ether (50 mL) and the combined organic layers were washed with brine (50 mL), dried over magnesium sulfate, filtered, and evaporated to yield the title compound (2.7 g). Step C Preparation of 2-(4-chloropropoxyphenyl)-7-methylimidazo[1,2-a]pyridine A solution of the product of Step B (2.0 g) and 2-amino-4-picoline (0.74 g) in ethanol (8 mL) was heated at reflux temperature for 2 hours. The reaction mixture was cooled to ambient temperature and the solvent evaporated in vacuo. The residue was dissolved in dichloromethane (75 mL), washed with saturated sodium bicarbonate (2×75 mL), brine (75 mL), dried over magnesium sulfate, filtered and evaporated. The residue was purified via silica gel chromatography (ethyl acetate/hexane) to give the title compound (1.3 g). Step D Preparation of 2-(4-Piperidinopropoxyphenyl)-7-methylimidazo[1,2-a]pyridine The product of Step C (0.2 g) and piperidine (2.0 mL) were heated at reflux temperature for 5 hours. The reaction was cooled to ambient temperature and partitioned between ethyl acetate (10 mL) and saturated sodium bicarbonate solution (10 mL). The aqueous portion was extracted with additional ethyl acetate (10 mL) and the organic portions combined. The organic portions were dried over magnesium sulfate, filtered and evaporated. The residue was purified via silica gel chromatography (dichloromethane/methanol) to give the title compound (0.21 g). This compound can also be named as 7-(methyl-2-[4-(3-piperidin-1-yl-propoxy)-phenyl]-imidazo [1,2-a]pyridine. Treatment with 2M HCl in ether afforded the dihydrochloride. 1H NMR (CD3OD) δ 8.67 (d, J=7.5 Hz, 1H), 8.41 (s, 1H), 7.84 (m, 2H), 7.71 (s, 1H), 7.36 (dd, J=6.9 Hz, J=1.4 Hz, 1H), 7.16 (m, 2H), 4.22 (t, J=5.8 Hz, 2H), 3.64 (d, J=12.5 Hz, 2H), 3.35 (m, 2H), 3.04 (m, 2H), 2.62 (s, 3H), 2.34 (m, 2H), 1.99 (m, 2H), 1.86 (m, 3H), 1.59 (m, 1H); 13C NMR (CD3OD) δ 161.0, 147.1, 141.1, 136.2, 128.5, 128.2, 120.3, 119.3, 115.8, 110.6, 109.9, 65.8, 55.0, 53.8, 24.5, 23.6, 22.1, 21.2, MS (M+H)=350.2 Analysis: Calc'd for C22H27N3O.2HCl.(2H2O) C, 57.64; H, 7.26; N, 9.17; Found: C, 57.68; H, 7.13; N, 9.16.