Aldol condensation between 2-acetyl-1-methylpyrrole (I) and p-acetamidobenzaldehyde (II) affords the chalcone (III). Cyclization of (III) with hydrazine in EtOH gives rise to the pyrazoline (IV). Subsequent acylation of (IV) with 2-bromobutyryl chloride (V) furnishes amide (VI). Then, displacement of the bromide ion of (VI) with phenol in the presence of K2CO3 and NaI provides the title compound