[CH3:1][O:2][C:3](=[O:12])[CH2:4][C:5](=O)[CH2:6][C:7]([O:9][CH3:10])=[O:8].[Cl-].ClC1N(C)C=C[N+]=1C.C(N(CC)CC)C.CCCCCC>ClCCl.O>[CH3:10][O:9][C:7](=[O:8])[CH:6]=[C:5]=[CH:4][C:3]([O:2][CH3:1])=[O:12]3-Oxopentanedioic acid dimethyl ester (11 mL, 75 mmol) was dissolved in dichloromethane (100 mL), and cooled to 0° C. The obtained solution was added with 2-chloro-1,3-dimethylimidazolium chloride (14 g, 83 mmol) and triethylamine (31 mL, 0.23 mol), warmed up to a room temperature and stirred for 4 hours. The reaction mixture was added with hexane (200 mL) and water and extracted with hexane 3 times. The organic layers were combined and sequentially washed with water and saturated brine, dried over anhydrous sodium sulfate and then evaporated under reduced pressure. The residue was purified by silica gel column chromatography (hexane/ethyl acetate=2/1) to obtain penta-2,3-dienedioic acid dimethyl ester (4.7 g, 40%).