[N+:1]([C:4]1[NH:8][N:7]=[C:6]([C:9]([OH:11])=[O:10])[CH:5]=1)([O-:3])=[O:2].S(Cl)(Cl)=O.[CH3:16]O>>[CH3:16][O:10][C:9]([C:6]1[CH:5]=[C:4]([N+:1]([O-:3])=[O:2])[NH:8][N:7]=1)=[O:11]To a solution of 25.8 g (164 mmol) of 5-nitro-1H-pyrazole-3-carboxylic acid in 250 mL of anhydrous methanol (MeOH) was added dropwise 10.3 mL (141 mmol) of thionyl chloride, and the resulting mixture was heated at reflux overnight, then cooled to rt and concentrated to give 27.6 g (98% yield) of 5-nitro-1H-pyrazole-3-carboxylic acid methyl ester as a solid. 1H NMR (CDCl3) δ 6.08s, 1H), 3.91 (s, 3H).