[Br:1][C:2]1[CH:10]=[CH:9][CH:8]=[C:7]2[C:3]=1[CH:4]=[C:5]([C:11]([O:13][CH3:14])=[O:12])[NH:6]2.O=P(Cl)(Cl)Cl.CN(C)[CH:22]=[O:23]>ClCCl.C(OCC)(=O)C.C([O-])(=O)C.[Na+].O>[Br:1][C:2]1[CH:10]=[CH:9][CH:8]=[C:7]2[C:3]=1[C:4]([CH:22]=[O:23])=[C:5]([C:11]([O:13][CH3:14])=[O:12])[NH:6]2To a solution of methyl 4-bromo-1H-indole-2-carboxylate (4.09 g) in dichloromethane (60 mL) was added a mixture of POCl3 (3.7 g) and N,N-dimethylformamide (1.76 g). The mixture was stirred at reflux overnight. The mixture was diluted with ethyl acetate (300 mL) and 2M sodium acetate solution in water (200 mL). The mixture was stirred thoroughly for 1 hour. The aqueous layer was extracted with ethyl acetate. The combined extracts were washed with water (×3), brine and dried over Na2SO4. After filtration, concentration of the mixture gave the title compound, which was used in next step without purification.