Ferulic acid was converted into its imidazolide derivative by reaction with N,N0-carbonyldiimidazole (CDI) in THF at room temperature. This was further reacted with benzene-1,2-diamine or 4-methylbenzene-1,2-diamine in the
presence of trifluoroacetic acid to afford key intermediates 5a– 5b.13