[CH3:1][O:2][C:3](=[O:13])[CH:4]=[CH:5][C:6]1[CH:11]=[CH:10][C:9]([Cl:12])=[CH:8][CH:7]=1.[N+:14]([CH3:17])([O-:16])=[O:15].CN(C)C(=N)N(C)C>C(OCC)C.Cl>[CH3:1][O:2][C:3](=[O:13])[CH2:4][CH:5]([C:6]1[CH:11]=[CH:10][C:9]([Cl:12])=[CH:8][CH:7]=1)[CH2:17][N+:14]([O-:16])=[O:15]A mixture of 290 g of p-chlorocinnamic acid methyl ester, 500 g of nitromethane and 39 g of tetramethylguanidine is allowed to stir for 72 hours. The solution is diluted with ethyl 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-chlorophenyl)butanoic acid methyl ester.