was found to act as an efficient oxidant to trigger the [1,2]-arylmigration towards the formation of the desired heterocycles. Depending on the substitution pattern, the results revealed another mechanistic pathway through which benzisoxazoles or 1H-indazoles could be formed. The Beckmann-type rearrangement strategy was applied to the synthesis of benzimidazole-containing biorelevant targets such as