[Cl:1][C:2]1[CH:7]=[C:6]([NH:8][CH:9]2[CH2:11][CH2:10]2)[N:5]2[N:12]=[CH:13][CH:14]=[C:4]2[N:3]=1.O=P(Cl)(Cl)Cl.CN([CH:23]=[O:24])C>>[Cl:1][C:2]1[CH:7]=[C:6]([NH:8][CH:9]2[CH2:11][CH2:10]2)[N:5]2[N:12]=[CH:13][C:14]([CH:23]=[O:24])=[C:4]2[N:3]=1To 5-chloro-N-cyclopropylpyrazolo[1,5-a]pyrimidin-7-amine (156 mg, 0.75 mmol) in DMF was added POCl3 (205 μl, 2.25 mmol). The mixture was stirred at room temperature for 3 hours. Ice was added to quench excess POCl3 then the mixture was neutralized with 1M NaOH. DCM was added and the product was extracted three times. The organic layer was dried over Na2SO4 and concentrated under reduced pressure to yield 5-chloro-7-(cyclopropylamino)pyrazolo[1,5-a]pyrimidine-3-carbaldehyde. Some residual DMF could not be removed. LCMS (M+1=237)