[CH2:1]([NH:4][C:5]1[C:10](Br)=[CH:9][N:8]=[C:7]([Cl:12])[N:6]=1)[CH:2]=[CH2:3].C1(P(C2C=CC=CC=2)C2C=CC=CC=2)C=CC=CC=1.C(N(CC)CC)C>CN(C=O)C.C(OCC)(=O)C.C([O-])(=O)C.[Pd+2].C([O-])(=O)C>[Cl:12][C:7]1[N:8]=[CH:9][C:10]2[C:2]([CH3:3])=[CH:1][NH:4][C:5]=2[N:6]=1A mixture of Allyl-(5-bromo-2-chloro-pyrimidin-4-yl)-amine (1 g, 4 mmol), palladium(II) acetate, (90 mg, 0.40 mmol), triphenylphosphine (211 mg, 0.80 mmol) and triethylamine (1.1 mL, 8.0 mmol) in DMF (10 mL) is heated at 100° C. overnight. After cooling to room temperature the reaction mixture is diluted with ethyl acetate and washed with brine. The organic phase is dried (anhydrous Na2SO4) and the solvent is evaporated. The crude product is purified by flash chromatography (gradient elution EtOAC:Heptanes 0:0 to 1:1) on silicagel to afford 2-Chloro-5-methyl-7H-pyrrolo[2,3-d]pyrimidine as a white solid (40%).