[OH-].[Na+].[ClH:3].[CH3:4][N:5]([CH3:13])[CH2:6]/[CH:7]=[CH:8]/[C:9]([O:11]C)=[O:10].Cl>O.CO>[ClH:3].[CH3:4][N:5]([CH3:13])[CH2:6]/[CH:7]=[CH:8]/[C:9]([OH:11])=[O:10]A solution of sodium hydroxide (6.2 g, 0.155 mol, 4 equiv) in water (40 ml) was added to a stirred solution of (E)-methyl 4-(dimethylamino)but-2-enoate hydrochloride (7 g, 0.039 mol, 1.00 equiv) in methanol (150 ml). The reaction mixture was stirred for 4 hours. 6N hydrochloric acid was added to bring the pH to 2. The reaction mixture was concentrated under reduced pressure, and ethanol (50 ml) was added and the solid was removed by filtration. The filtrate was concentrated under reduced pressure to thick oil. The oil was crystallized in isopropanol and acetone to give the product 3.6 g. MS (ESI) m/z: 563 (M+1).