[reaction: see text] The novel three-component reaction of aromatic aldehydes, ethylenediamine, and beta-keto esters is described. In this reaction, beta-keto esters react at the gamma-position which is generally unreactive to produce the seven-membered ring compounds. Products have secondary amines and beta-enamino esters, which can serve in further functionalizations to produce molecular diversity.