[NH2:1][C:2]1[NH:6][N:5]=[CH:4][C:3]=1[C:7]([OH:9])=[O:8].[Br:10][CH:11]([CH:14]=O)[CH:12]=O>Cl>[Br:10][C:11]1[CH:12]=[N:1][C:2]2[N:6]([N:5]=[CH:4][C:3]=2[C:7]([OH:9])=[O:8])[CH:14]=1A suspension of 5-amino-1H-pyrazole-4-carboxylic acid (1 g, 7.8 mmol) and 2-bromomalonaldehyde (1.2 g, 7.8 mmol) in an aqueous solution of hydrochloric acid (6 M, 20 mL) was heated at 95° C. for 15 minutes. The resulting mixture was cooled to room temperature and the solid formed was collected by filtration, rinsed with water and dried in vacuum oven to give 6-bromo-pyrazolo[1,5-a]pyrimidine-3-carboxylic acid.