[Br:1]CCCCCCCCCCCO.C(N(CC)CC)C.C(Cl)(=O)C=C.Br[CH2:27][CH2:28][CH2:29][CH2:30][CH2:31][CH2:32][CH2:33][CH2:34][CH2:35][CH2:36][CH2:37][O:38][C:39](=[O:42])[CH:40]=[CH2:41].[CH3:43][N:44]1[CH:48]=[CH:47][N:46]=[CH:45]1.C(C1C=C(C)C=C(C(C)(C)C)C=1O)(C)(C)C>O1CCCC1>[Br-:1].[C:39]([O:38][CH2:37][CH2:36][CH2:35][CH2:34][CH2:33][CH2:32][CH2:31][CH2:30][CH2:29][CH2:28][CH2:27][N+:46]1[CH:47]=[CH:48][N:44]([CH3:43])[CH:45]=1)(=[O:42])[CH:40]=[CH2:41]11-Bromoundecanol (10.00 g, 40 mmol) was dissolved in 40 ml of dry tetrahydrofuran (THF) in a two-necked round bottom flask. The flask was cooled in an ice-bath and triethylamine (5.13 mL, 40 mmol) in THF (40 mL) was added to the stirring solution. Acryloyl chloride (3.65 g, 40 mmol) dissolved in 40 ml of THF was added dropwise to the stirring solution over a period of 15 min under N2 atmosphere. The mixture was further stirred for 2 days at room temperature and was filtered. The filtrate was washed with 2% sodium bicarbonate solution to remove any unreacted acid chloride and dried over anhydrous MgSO4. The dried solution was filtered and the filtrate was passed through a short column of neutral alumina, using CH2Cl2 as the light yellow liquid (yield 10.58 g, 87%). Under N2 atmosphere, a mixture of 11-bromoundecylacrylate (6.08 g, 20 mmol) and 1-methylimidazole (1.64 g, 20 mmol) and a small amount of 2,6-di-tert-butyl-4-methylphenol (inhibitor) was stirred at 40° C. for 48 h, and yielded a viscous liquid. The viscous liquid was purified by the precipitation method with diethyl ether to obtain a yellow viscous liquid 1-(11-acryloyloxyundecyl)-3-methylimidazolium bromide. The viscous liquid was dried under vacuum at room temperature to obtain a white waxy solid (5.73 g, 74%).