[Br:1][C:2]1[C:10]([Cl:11])=[CH:9][C:8]2[NH:7][N:6]=[CH:5][C:4]=2[C:3]=1[C:12]([O:14][CH3:15])=[O:13].F[B-](F)(F)F.[CH3:21][O+](C)C>C(OCC)(=O)C>[Br:1][C:2]1[C:10]([Cl:11])=[CH:9][C:8]2[C:4](=[CH:5][N:6]([CH3:21])[N:7]=2)[C:3]=1[C:12]([O:14][CH3:15])=[O:13]To a solution of methyl 5-bromo-6-chloro-1H-indazole-4-carboxylate (390 mg, 1.35 mmol) in ethyl acetate (27 mL) was added trimethyloxonium tetrafluoroborate (260 mg, 1.76 mmol) at room temperature, and the mixture was stirred for 2 hr. The reaction solution was diluted with ethyl acetate, washed with saturated aqueous sodium hydrogen carbonate solution, and dried over anhydrous sodium sulfate. The solvent was evaporated under reduced pressure, and the residue was purified by silica gel column chromatography (NH, ethyl acetate/hexane=10/90→40/60) to give the title compound (336 mg, yield 82%).