[CH3:1][C:2]1[C:6]([N+:7]([O-:9])=[O:8])=[CH:5][NH:4][N:3]=1.CI.[C:12]([O-])([O-])=O.[K+].[K+]>CN(C=O)C>[CH3:12][N:3]1[C:2]([CH3:1])=[C:6]([N+:7]([O-:9])=[O:8])[CH:5]=[N:4]1To a solution of 3-methyl-4-nitro-1H-pyrazole (4.01 g, 31.6 mmol) in DMF (60 mL) were added CH3I (8.93 g, 63.0 mmol) and K2CO3 (8.73 g, 63.2 mmol). The reaction mixture was stirred at 60° C. in a sealed tube overnight and concentrated in vacuo. The residue was diluted with water (50 mL), and extracted with EtOAc (50 mL×3). The combined organic phases were washed with brine (50 mL), dried over anhydrous Na2SO4, filtered and concentrated in vacuo. The residue was purified by silica gel column chromatography (EtOAc/PE (v/v)=1/2) to give the title compound as a beige solid (1.01 g, 22.7%).