C([N:3]1[CH2:8][CH2:7][CH2:6][N:5]2[N:9]=[CH:10][CH:11]=[C:4]12)=O.[N+:12]([O-])([O-:14])=[O:13].[K+]>S(=O)(=O)(O)O>[N+:12]([C:11]1[CH:10]=[N:9][N:5]2[CH2:6][CH2:7][CH2:8][NH:3][C:4]=12)([O-:14])=[O:13]To a solution of 4-formyl-4,5,6,7-tetrahydropyrazolo[1,5-a]pyrimidine (1.51 g) in sulfuric acid (7.5 ml) was added potassium nitrate (111 g) under ice-cooling. The mixture was stirred at room temperature for 17 hours. The reaction mixture was added to ice (100 g). The crystalline residue was collected by filtration and dried in vacuo to give 3-nitro-4,5,6,7-tetrahydropyrazolo[1,5-a]pyrimidine (0.63 g) as a solid.