[SH:1][C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[CH:5]=[CH:4][CH:3]=1.Br[CH2:12][CH2:13][CH2:14][Cl:15].C(N(CC)CC)C>C(O)C>[Cl:15][CH2:14][CH2:13][CH2:12][S:1][C:2]1[N:7]2[CH:8]=[CH:9][N:10]=[C:6]2[CH:5]=[CH:4][CH:3]=1To a suspension of 5-mercaptoimidazo[1,2-a]pyridine (5.02 g, 33.4 mmoles) and 1-bromo-3-chloropropane (5.26 g, 33.4 mmoles) in ethanol (100 ml) was added triethylamine (4.66 ml, 33.4 mmoles) and the mixture was stirred at room temperature for 17 hours. After the solvent was distilled off, chloroform was added to the residue, which was washed with water and dried over anhydrous magnesium sulfate. After the solvent was distilled off, the residue was purified by column chromatography (eluent: ethyl acetate) to obtain 5.46 g of the desired product (72.0%, light brown oily product).