3-(2-Methyl-1H-imidazol-1-yl)-5-(trifluoromethyl)aniline is used in the preparation of cinnamaldehyde derivatives as inhibitors of bacterial cell division. Nilotinib (N465300) impurity, which might be useful in treatment of chronic myelogenous leukemia.