[Br:1][C:2]1[CH:3]=[C:4]2[C:8](=[CH:9][CH:10]=1)[NH:7][N:6]=[CH:5]2.[Cl:11]NC(=O)CCC(N)=O>C(#N)C>[Br:1][C:2]1[CH:3]=[C:4]2[C:8](=[CH:9][CH:10]=1)[NH:7][N:6]=[C:5]2[Cl:11]To a solution of 5-bromoindazole 162 (0.234 g, 1.19 mmol.) in anhydrous acetonitrile (8 mL) was added N-chlorosuccinamide (0.174 g, 1.31 mmol.). The reaction mixture was heated at 60° C. for 2 hours. The organic solvent was evaporated under reduced pressure. Ethyl acetate (100 mL) was added. The organic layer was washed was 1N sodium hydroxide solution, water and brine. The organic layer was dried over sodium sulfate. The organic solvent was evaporated under reduced pressure to yield 5-bromo-3-chloroindazole 163 (0.26 g, 1.13 mmol.). The crude product was used in the next step without further purification.