[Cl:1][C:2]1[C:3]([N:8]2[C:12]([C:13]([O:15][CH3:16])=[O:14])=[CH:11][C:10]([CH2:17]O)=[N:9]2)=[N:4][CH:5]=[CH:6][CH:7]=1.O=S(Cl)[Cl:21]>C(Cl)Cl>[Cl:21][CH2:17][C:10]1[CH:11]=[C:12]([C:13]([O:15][CH3:16])=[O:14])[N:8]([C:3]2[C:2]([Cl:1])=[CH:7][CH:6]=[CH:5][N:4]=2)[N:9]=1Methyl 1-(3-chloropyridin-2-yl)-3-(hydroxymethyl)-1H-pyrazole-5-carboxylate (26.7 g, 0.1 mol) was dissolved in 150 ml of CH2Cl2 and the solution was cooled to 5° C. SOCl2 (0.12 mol) in 30 ml of CH2Cl2 was slowly added dropwise at this temperature. The mixture was stirred at 40° C. for a further 4 h and concentrated under reduced pressure. The product can be used further without purification.