CO[C:3](=[O:5])[O-:4].[CH3:6][N+:7]1([CH3:13])[CH2:12][CH2:11][CH2:10][CH2:9][CH2:8]1.C1(=O)[O:19][C:17](=[O:18])[CH:16]=[CH:15]1>O>[C:3]([O-:4])(=[O:5])/[CH:15]=[CH:16]\[C:17]([O-:19])=[O:18].[CH3:6][N+:7]1([CH3:13])[CH2:12][CH2:11][CH2:10][CH2:9][CH2:8]1.[CH3:6][N+:7]1([CH3:13])[CH2:12][CH2:11][CH2:10][CH2:9][CH2:8]1By following the same procedure as Example 20 (2nd step) except that 18.9 g of N,N-dimethylpiperidinium methyl carbonate, 18.9 g of water, and 9.8 g of maleic anhydride were used, 22.9 g (yield of 100%) of N,N-dimethylpiperidinium maleate was obtained. The content of monomethyl maleate was less than 0.1% and the content of impurity ions were all less than 1 ppm.