FIELD: organic chemistry. SUBSTANCE: product: derivatives of imidazole of the formula (I) $$$ where $$$ - hydrogen, $$$-alkyl; $$$ - $$$-alkyl substituted with $$$-alkoxy-group; $$$ and $$$ - hydrogen, haloid, $$$-alkyl, $$$-alkoxy-group. Synthesized compounds were used as antiulcer agents. EFFECT: improved method of synthesis. 5 cl, 5 tbl