[CH3:1][N:2]1[C:6]([C:7](O)=[O:8])=[C:5]([NH:10][C:11]2[CH:16]=[CH:15][CH:14]=[CH:13][C:12]=2[N+:17]([O-:19])=[O:18])[C:4]([CH3:20])=[N:3]1.S(Cl)([Cl:23])=O>>[CH3:1][N:2]1[C:6]([C:7]([Cl:23])=[O:8])=[C:5]([NH:10][C:11]2[CH:16]=[CH:15][CH:14]=[CH:13][C:12]=2[N+:17]([O-:19])=[O:18])[C:4]([CH3:20])=[N:3]12.6 g of 1,3-dimethyl-4-[(2-nitrophenyl)amino]pyrazole-5-carboxylic acid and 10 ml of thionyl chloride are stirred at 80° C. for 3 hours; the solution is concentrated; 10 ml of toluene are added, and the mixture is re-concentrated, this procedure being carried out 3 times. 2.9 g of 1,3-dimethyl-4-[(2-nitrophenyl)amino]pyrazole-5-carboxylic acid chloride are thus obtained as an orange-colored oil.