O=[C:2]([CH2:11][CH2:12][CH3:13])[CH2:3][C:4]([O:6]CCC#N)=[O:5].[NH2:14]/[C:15](/[CH3:21])=[CH:16]\[C:17]([O:19][CH3:20])=[O:18].[N+:22]([C:25]1[CH:32]=[CH:31][C:28]([CH:29]=O)=[CH:27][CH:26]=1)([O-:24])=[O:23]>C(O)(C)C>[CH3:20][O:19][C:17]([C:16]1[CH:29]([C:28]2[CH:31]=[CH:32][C:25]([N+:22]([O-:24])=[O:23])=[CH:26][CH:27]=2)[C:3]([C:4]([OH:6])=[O:5])=[C:2]([CH2:11][CH2:12][CH3:13])[NH:14][C:15]=1[CH3:21])=[O:18]A mixture of 2-cyanoethyl 3-oxohexanoate (11.9 mmol), methyl 3-aminocrotonate (11.9 mmol), and 4-nitrobenzaldehyde in 25 mL of isopropanol were heated at reflux temperature for 16 h, cooled, and the solvent was removed under reduced pressure. The residue was dissolved in 15 mL of dioxane (slightly warmed with a heat gun to dissolve the product) and 626 mg of NaOH in 15 mL of water was added to the reaction mixture. After 0.5 hrs, the maroon solution was concentrated to a small volume under reduced pressure, partitioned between 50 mL of water and 50 mL of ethyl acetate, separated, and the aqueous solution was washed with 2×20 mL of ethyl acetate. The aqueous extract was acidified with concentrated HCl (pH=2), and the precipitated oil was extracted with ethyl acetate (2×40 mL). The combined organic extracts were dried (MgSO4), and the solvent was removed in vacuo to give the desired product as a foamy yellow solid. The acid was used in the next step without further purification.