[CH3:1][O:2][C:3](=[O:14])[CH:4]=[CH:5][C:6]1[CH:11]=[CH:10][C:9]([O:12][CH3:13])=[CH:8][CH:7]=1.[N+:15]([CH3:18])([O-:17])=[O:16].CN(C)C(=N)N(C)C>C(OCC)C.Cl>[CH3:1][O:2][C:3](=[O:14])[CH2:4][CH:5]([C:6]1[CH:11]=[CH:10][C:9]([O:12][CH3:13])=[CH:8][CH:7]=1)[CH2:18][N+:15]([O-:17])=[O:16]A mixture of 288 g of 4-methoxycinnamic acid methyl ester, 500 g of nitromethane and 23 g of tetramethylguanidine is allowed to stir for 72 hours. The solution is diluted with diethyl ether and aqueous hydrochloric acid solution (1 N, 1 liter) is added. The organic layer is separated, dried over anhydrous magnesium sulfate, and evaporated to give 4-nitro-3-(4-methoxyphenyl)butanoic acid methyl ester.