[CH3:1][C:2]1[CH:3]=[C:4]([C:8]2[N:13]3[N:14]=[CH:15][C:16]([C:17]#[N:18])=[C:12]3[N:11]=[CH:10][CH:9]=2)[CH:5]=[CH:6][CH:7]=1.S(=O)(=O)(O)[OH:20].[OH-].[NH4+]>>[CH3:1][C:2]1[CH:3]=[C:4]([C:8]2[N:13]3[N:14]=[CH:15][C:16]([C:17]([NH2:18])=[O:20])=[C:12]3[N:11]=[CH:10][CH:9]=2)[CH:5]=[CH:6][CH:7]=1A mixture of 7-(3-methylphenyl)pyrazolo[1,5-a]-pyrimidine-3-carbonitrile (prepared as described in Example 7 of U.S. Pat. No. 4,236,005) and concentrated sulfuric acid is stirred at room temperature for 16 hours. The solution is then carefully poured into ice with stirring and mixture is carefully made just basic with concentrated ammonium hydroxide. The solid is collected by filtration to give 7-(3-methylphenyl) pyrazolo[1,5-a]pyrimidine-3-carboxamide.