Patent ID: 8586737

Claim:
A process for preparing a quaternary ammonium salt of formula (4): wherein X is halogen atom, C 1-6 alkylsulfonyloxy group, or C 6-10 arylsulfonyloxy group, and X − is a counteranion thereof, Y is a substituent of the following formula (3a) or (3b): wherein R 3 is independently methylene or oxygen atom; R 4 is independently C 1-6 alkyl group, C 1-6 alkoxy group, or hydroxy group; m and n are independently 0, 1, 2, or 3; and p is 1 or 2, and Z is ═N—R 1 or ═CH—R 2 wherein R 1 is C 1-6 alkyl group, C 3-7 cycloalkyl group, C 5-7 cycloalkenyl group, C 6-10 aryl group, or 5- to 10-membered monocyclic or bicyclic heteroaryl group; R 2 is C 1-6 alkyl group, C 1-6 alkoxy group, C 1-6 alkylthio group, C 3-7 cycloalkyl group, C 3-7 cycloalkyloxy group, C 3-7 cycloalkylthio group, C 5-7 cycloalkenyl group, C 5-7 cycloalkenyloxy group, C 5-7 cycloalkenylthio group, C 6-10 aryl group, C 6-10 aryloxy group, C 6-10 arylthio group, 5- to 10-membered monocyclic or bicyclic heteroaryl group, 5- to 10-membered monocyclic or bicyclic heteroaryloxy group, or 5- to 10-membered monocyclic or bicyclic heteroarylthio group, comprising reacting a compound of formula (1): wherein Z is as defined above with 1 to 2 mole of a compound of formula (2): wherein X is independently selected from the above-defined ones, and Y is as defined above, per one mole of the compound of formula (1) in the presence of 1 to 5 mole of a phosphate per one mole of the compound of formula (1) and 0.01 to 0.1 part by weight of water per one part by weight of the phosphate.