Compound can be prepared in two different ways: 1) The cyclization of ethyl 2-[4-(chloroacetyl)phenyl]propionate (I) with 2-aminopyridine (II) in refluxing ethanol gives ethyl 2-[4-(imidazo[1,2-a]pyridin-2-yl)phenyl]propionate (III), which is then hydrolyzed with NaOH in refluxing ethanol water. 2) By cyclization of a mixture of pyridine (IV), hydroxylamine (V) and 2-[4-(chloroacetyl)phenyl]propionic acid (VI) by heating at 80-100 C.