A green and simple method for the synthesis of the title compounds 4 by the reaction of 5-chloroacetyl-8-hydroxyquinoline (1), acetylacetone pentane-2,4-dione (2), and amines 3 in the presence of a catalytic amount of 1,4-diazabicyclo[2.2.2]octane at 60°C is described. The procedure is amenable for the synthesis of other substituted pyrroles. Short reaction time, environmentally friendly procedure, and excellent yields are the main advantages. The structures of products 4a-n were characterized by 1 H NMR, IR, and MS spectra.