the reaction was allowed to proceed for 7–8 h with vigorous stirring.
The unreacted reagents were extracted with ether, and the ionic liquid was purified by vacuum distillation to remove the residual ether and other impurities, such as water.
The [AMIM]Cl, was slightly amber.