[CH3:1][C:2]1[CH:3]=[N:4][C:5]2[N:6]([N:14]=[CH:15][CH:16]=2)[C:7]=1[C:8]1[CH:9]=[N:10][CH:11]=[CH:12][CH:13]=1.[Br:17]N1C(=O)CCC1=O>ClCCl>[Br:17][C:16]1[CH:15]=[N:14][N:6]2[C:7]([C:8]3[CH:9]=[N:10][CH:11]=[CH:12][CH:13]=3)=[C:2]([CH3:1])[CH:3]=[N:4][C:5]=12A mixture of 1.65 g. of 6-methyl-7-(3-pyridyl)pyrazolo[1,5-a]pyrimidine and 1.54 g. of N-bromosuccinimide in 50 ml. of dichloromethane is heated on a steam bath for 15 minutes. The mixture is poured into 100 ml. of ice cold 2.5 N sodium hydroxide. The dichloromethane layer is separated, dried over anhydrous sodium sulfate and passed through a column of hydrous magnesium silicate. The eluent is concentrated and hexane added to give 1.20 g. of the product of the example, m.p. 166°-168° C.