Br[CH2:2][C:3]([O:5][CH3:6])=[O:4].[CH3:7][CH:8]1[CH:12]=[CH:11][CH:10]([CH3:13])[NH:9]1.C(=O)([O-])[O-].[K+].[K+].CN(C)C=O>O>[CH3:7][C@H:8]1[CH:12]=[CH:11][C@H:10]([CH3:13])[N:9]1[CH2:2][C:3]([O:5][CH3:6])=[O:4]Methyl bromoacetate (16.8 g, 0.11 mol) was added, dropwise, to a stirred mixture of 2,5-dimethyl-3-pyrroline (10 g, 0.1 mol), potassium carbonate (13.8 g, 0.1 mol), and dimethylformamide (25 cm3) maintained below 30° C. by ice cooling. After addition was complete the mixture was cooled in ice for a further 1 h, then stirred at room temperature overnight. The reaction mixture was then diluted with water (50 cm3) and the product extracted into ether. The ether extract was dried and evaporated to yield an oil* which was distilled under vacuum to give methyl (trans-2,5-dihydro-2,5-dimethyl-1H-pyrrol-1-yl)acetate (7 g) b.p. 89°-92° C./15 mm.