The document discusses the Dieckmann condensation reaction. The Dieckmann condensation involves the self-condensation of esters to form cyclic β-ketoesters using an alkoxide base. It can occur intramolecularly between two tethered ester groups or intermolecularly between two separate ester molecules. Examples are given where 1,6-diesters form 5-membered rings and 1,7-diesters form 6-membered rings. The Dieckmann condensation is useful for preparing cyclic indoles and produces alcohols as byproducts.