BINAP (5.5 mol%), Pd(OAc)2 (5 mol%) and Cs2CO3 (1.4 eq.) and toluene (10 mL) were added to the reactor under nitrogen protection. The suspension was heated at 80C for 10 min and benzophenone hydrazone (2.1 eq.) was added. The resulting mixture was heated and stirred at 100C and the progress of the reaction was monitored by TLC, after completion of the reaction the reaction solution was poured into a mixture of water (20 mL) and dichloromethane (20 mL) and quenched, the mixture mat diatomaceous earth filtration, the aqueous layer was extracted with dichloromethane after partitioning, and the combined organic layers were washed with purified water (320 mL) and filtered after drying with MgSO4, and the filtrate was distilled under reduced pressure to give 4- Methoxy-1H-indazole crude product. The crude product was added to a microwaveable vial having p-toluenesulfonic acid (2 or 3 equiv.) and dichloromethane (10 mL), the vial was sealed and the suspension was heated at 100C. The mixture was then purified and the suspension was heated at 100C. The mixture was then purified and the vial was dried. The resulting mixture was quenched by pouring into purified water (20 mL) and extracted with ethyl acetate (320 mL), the combined organic layers were dried over anhydrous MgSO4, filtered, distilled under reduced pressure and purified by silica gel chromatography.