[Br:1][C:2]1[CH:7]=[CH:6][C:5]([N:8]2[C:16]([C:17]#[N:18])=[C:15]3[C:10]([CH:11]=[C:12]([N+:22]([O-:24])=[O:23])[C:13]([CH:19]4[CH2:21][CH2:20]4)=[CH:14]3)=[N+:9]2[O-])=[CH:4][CH:3]=1.P(Cl)(Cl)Cl.C(O)C>C(Cl)(Cl)Cl>[Br:1][C:2]1[CH:7]=[CH:6][C:5]([N:8]2[C:16]([C:17]#[N:18])=[C:15]3[C:10]([CH:11]=[C:12]([N+:22]([O-:24])=[O:23])[C:13]([CH:19]4[CH2:21][CH2:20]4)=[CH:14]3)=[N:9]2)=[CH:4][CH:3]=1To a stirred solution of compound (v) (4.1 g, 0.010 mol) in chloroform (40 mL) was added phosphorus trichloride (4.1 mL, 0.047 mol) and the reaction mixture was heated to 60° C. for 1 h (monitored by TLC and LCMS). The reaction mixture was quenched in ice water and the product was extracted into DCM (2×80 mL). Concentration of solvent gave the crude product, to which was added ethanol and filtered to give 2-(4-bromophenyl)-5-cyclopropyl-6-nitro-2H-indazole-3-carbonitrile (vi) (3.3 g, 84%).