The one pot synthesis of fused 2,3-dihydropyrrolizine 4a and 6,7-dihydro-5H-indolizine 4b involving the intermolecular dehydrative condensation of 1-phenyl-1,6-dioxo-hepta-2,4-diene 1 with 2-chloroethylamine and 3-chloropropylamine followed by the intramolecular cyclization of the intermediary products 2-(1-chloroalkyl-5-methylpyrrol-2-yl)-1-phenylethanones 3a,b in the presence of a base such as Na2CO3 and NaHCO3 is described. These also led to the concurrent formation of the oxidatively dimerized product 2,3-bis-[ 1,5-(2-chloroalkyl)-1-H-pyrrol-2-yl]-1,4-diphenylbutane-1,4-dione 5a,b whereby the structure was further confirmed by X-ray analysis. (C) 2004 Elsevier Ltd. All rights reserved.