[NH2:1][C:2]1[N:6]([CH3:7])[N:5]=[CH:4][CH:3]=1.[N:8](OCCC(C)C)=[O:9].C(OC(C)C)(C)C>C(O)C.Cl>[NH2:1][C:2]1[N:6]([CH3:7])[N:5]=[CH:4][C:3]=1[N:8]=[O:9]To a solution of 5-amino-1-methylpyrazole (5 g) in ethanol (50 ml) was added isoamyl nitrite (6.92 ml), and then 20% hydrochloric acid (5 drops) was added at 4° C. The reaction mixture was refluxed for 2 hours and cooled to room temperature. To the reaction mixture was added diisopropyl ether (50 ml), and the mixture was stirred for 0.5 hour. The resulting precipitate was collected by filtration and dried in vacuo to give 5-amino-1-methyl-4-nitrosopyrazole (3.53 g).